[keycloak-dev] ui_locales query parameter?

Stian Thorgersen sthorger at redhat.com
Mon Apr 16 13:51:58 EDT 2018


kc_locale is only aimed at internal use. You should use ui_locales that's
the publicly available param.

On 16 April 2018 at 16:06, Stan Silvert <ssilvert at redhat.com> wrote:

> OK.
>
> Does anyone object to adding kc_locale to the login options on the
> keycloak.js adapter?
>
>
>
> On 4/16/2018 2:45 AM, Stian Thorgersen wrote:
>
> It's a query param defined by OpenID Connect. See http://openid.net/specs/
> openid-connect-core-1_0.html. It allows the application to pass a list of
> req locales in case the application knows it.
>
> When doing the redirect login flow the applications should use ui_locales.
> kc_locale is an internal param and should really only be used by the locale
> switcher on the login screen.
>
> On 16 April 2018 at 02:44, Stan Silvert <ssilvert at redhat.com> wrote:
>
>> Does anyone know what ui_locales is actually used for?
>>
>> I can't find usages except for in the testsuite.
>>
>> The query param used to change locale is kc_locale.  Should ui_locales
>> deprecated?
>>
>> Stan
>>
>> _______________________________________________
>> keycloak-dev mailing list
>> keycloak-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
>
>
>


More information about the keycloak-dev mailing list