Translation of scopes configuration
Prerequisites
- Scopes must already be configured.
Instructions
Server-side configuration of scope translations
- Go to:
Loginapp >> OAuth 2.0/OIDC Authorization Servers >> {{AS-Id}} >> OAuth 2.0 Grants/OIDC Flows >> OAuth 2.0 Grants/OIDC Flows - Go to:
Section User Interface - In the Scope Translator property create and edit an Oauth 2.0 Scope Translator plugin
- For each scope create and edit an OAuth 2.0 Scope Translation Entry
- In each entry set Scope Pattern and Translation Key
- Add the Translation Key with translations to all strings_xx.properties files.
- The AS is configured to map scopes to their translated values.
Client-side configuration of scope translations
- Use the Loginapp Design Kit to add the required translations:
Loginapp UI page
Translation key
Authentication OAuth 2.0 Consent
authentication.oauth2.consent.scope.{scopeName}
Protected Self-Service OAuth 2.0 Session Management
protected.oauth2.sessions.session.scope.{scopeName}