Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode chars in First or Last name cause com.google.step2.VerificationException: 0x0 #35

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Use an openID to login a user with a non English name. I found the problem 
with the first name: Smári

From the successful response ((ConsumerManager.java:1145) - Received positive 
auth response.) The nounce can't be parsed. For the above name this is the 
value in the url: openid.ext1.value.firstName=Sm%C3%A1ri


What is the expected output? What do you see instead?
I expected a successful login. I get this exception:
SEVERE: Servlet.service() for servlet CheckAuth threw exception
com.google.step2.VerificationException: 0x0: something went wrong during 
response verification, such as nonce or signature checking. Check your debug 
logs.
        at com.google.step2.ConsumerHelper.verify(ConsumerHelper.java:121)


What version of the product are you using? On what operating system?
version=1-SNAPSHOT on Ubuntu Linux - Built with and used under Sun JDK 1.6.0_18

Original issue reported on code.google.com by [email protected] on 26 Aug 2010 at 10:58

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

A common cause of this problem when using Tomcat or JBoss is that the connector 
isn't configured for UTF-8 encoding.  To fix the problem, set 
URIEncoding="UTF-8" on the tomcat connector in server.xml.  e.g. 
http://www.jspwiki.org/wiki/TomcatAndUTF8?version=11

Original comment by [email protected] on 18 Apr 2011 at 11:30

@GoogleCodeExporter
Copy link
Author

I have exactly the same problem. It fails when the user's First or Family Names 
contains accents.
I am using mod_proxy_ajp, and I configured the AJP Connector as

<Connector port="8009" protocol="AJP/1.3" useBodyEncodingForURI="true" 
uriencoding="UTF-8" redirectPort="8443" />

but to no avail.

Is there something I am missing? Something to configure on Apache side?

Original comment by [email protected] on 12 Feb 2012 at 4:07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant