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

OAuth2 consent page ignores Accept-Language #61

Closed
tsujiguchitky opened this issue Apr 18, 2019 · 0 comments
Closed

OAuth2 consent page ignores Accept-Language #61

tsujiguchitky opened this issue Apr 18, 2019 · 0 comments
Milestone

Comments

@tsujiguchitky
Copy link
Contributor

Description

When OpenAM works as OAuth authorization server, you start authorization code flow, then the consent page is displayed after authentication. This consent screen seems to ignore the browser locale. Even if you deploy translation.json corresponding to the browser locale, it will be displayed in English.

However, it seems that the OpenID Connect ui_locales parameter is supported.

Steps to reproduce

  1. Configure OpenAM as OAuth Authorization Server
  2. Register the OAuth Client
  3. Set the locale of the browser to Japanese
  4. Start authorization code flow
  5. Log in as a user
  6. Check locale when the consent page is displayed

Expected Results

The consent page is displayed in Japanese.

Actual Results

The consent page is displayed in English.

References

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

No branches or pull requests

1 participant