[keycloak-user] UTF-8 character set support for user name and other fields / attributes

Pulkit Gupta pulgupta at redhat.com
Tue May 15 05:38:09 EDT 2018


Hi Upananda,

Were you able to solve this.
I am also getting this but it seems this is related to something else when
the code is reused and is sent twice to the server.

Regards,
Pulkit


On Tue, Mar 27, 2018 at 1:13 PM, Upananda Singha <upananda313 at gmail.com>
wrote:

> Hi,
>
> I am working with the Keycloak OIDC feature, and needed some clarification
> regarding the character set it supports:
>
> 1. I have a requirement to use utf-8 characters (multi byte) in the
> Username field
> which seems to work fine while setting the user name and I can login to
> Keycloak.
>
> But it seems there are other related issues while generating / encoding the
> tokens.
> Sometimes (some characters) it works fine but for some multibye characters
> it throws
>
> {
>     "error": "invalid_grant",
>     "error_description": "Code not valid"
> }
>
> while trying to get the Tokens using the authorization code.
>
> Can someone tell me if Keycloak actually supports utf-8 character set in
> Username and other fields and also in Custom user attributes?
>
> It would be of great help if anybody can share some information.
>
> Thanks,
>
> Upananda,
> Motorola Solutions
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>



-- 

PULKIT GUPTA

SENIOR SOFTWARE APPLICATIONS ENGINEER

Red Hat IN IT GBD <https://www.redhat.com/>

Pune - India

pulgupta at redhat.com    T: +91-2066817536
<http://redhatemailsignature-marketing.itos.redhat.com/>     IM: pulgupta

https://bluejeans.com/pulgupta
<https://red.ht/sig>


More information about the keycloak-user mailing list