`ui_locales` query parameter is ignored when `kc_idp_hint` is set
See original GitHub issueDescribe the bug
When trying to set the locale for KeyCloak and hint which IDP to use, KeyCloak ignores the ui_locales
hint.
Version
15.0.2
Expected behavior
KeyCloak should respect the ui_locales
hint when the user gets redirected from the IdentityProvider’s site.
For example when this is the first time the user logs in, and they need to verify their e-mail address.
Actual behavior
When the kc_idp_hint
parameter is set KeyCloak disrespects the ui_locales
parameter.
How to Reproduce?
- Start a local KeyCloak instance. Configure at least 2 locale-s in your instance (I’ve used English and Hungarian)
- Configure any Identity Provider (I used google). Set the realm’s settings to require email verification
- Open the https://www.keycloak.org/app/, and enter the credentials. Click the Save btn.
- put a breakpoint in
keycloak.js
at the 502th line. - Append the
kc_idp_hint=google&ui_locales=hu
to the variableurl
. (Or any Locale which is not your system’s locale) - Continue the execution
- Continue with the login process
- the verify your e-mail address will be shown to you in your system’s locale.
Anything else?
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (13 by maintainers)
Top Results From Across the Web
Should a server ignore unrecognized query parameters OR ...
Should a server ignore unrecognized query parameters (i.e. not defined in the OpenAPI document) or should it throw a 400 exception?
Read more >Ignoring query parameters within Sinatra POST request
Works fine when the data is POSTed to the endpoint https://myapp.com/deletewidget with the variable widgetid set within the headers or within a ...
Read more >Query parameter is ignored when making a Directory API ...
Trying to make a users.list request in order to retrieve information about a specific user where the query parameter is supplied results in...
Read more >Solved: How to ignore servlet requests with query paramete...
How can I set dispatcher and Akamai to ignore this query parameter, so that the requests from my servlet with this query parameter...
Read more >Extra query parameter is ignore when rendering Glass Link
I have a template that maps to the following Glass model. [SitecoreType(AutoMap = true)] public class MyGlassModel { private Link link; ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kanguran @vilmosnagy I’ve replied on the PR. Sorry for the late review.
You’re correct. I misread and was thinking about kc_locale, the kc_idp_hint is a different thing of course. This seems to be a valid bug, so ignore my previous comment.