For the instances using FAS, if the name contains non-ascii characters like "測試", the user failed to login with error message "Login failed"
Workaround: change the name to contains ascii only
Encoding issue in the library:
https://github.com/jbufu/openid4java/issues/141
Spec for http-charset
https://www.w3.org/International/articles/http-charset/index
Tried:
JBoss standalone.xml settings (worked):
<property name="org.apache.catalina.connector.URI_ENCODING" value="UTF-8"/>
<property name="org.apache.catalina.connector.USE_BODY_ENCODING_FOR_QUERY_STRING" value="true"/>
ServletFilter (does not work):
Set request and response encoding in ServletFilter for openid url, but not working. It only supports POST action for the req/res body but not URI.
https://dertompson.com/2007/01/29/encoding-filter-for-java-web-applications/
Use openid4java library for parsing parameters (worked):
bypass param encoded with servlet `req.getParameterMap` in openId by using `ParameterList.createFromQueryString(httpReq.getQueryString());` when processing response from openid.
https://groups.google.com/forum/#!topic/openid4java/GkAa8FQBMGE