17.7.1.4.1. AS-centric AS - Translation of scopes configuration

Prerequisites

  • Scopes must already be configured.

Instructions

  • Server-side configuration of scope translations
  • 1.
    Go to:
    Loginapp >> OAuth 2.0/OIDC Authorization Servers >> {{AS-Id}} >> OAuth 2.0 Grants/OIDC Flows >> OAuth 2.0 Grants/OIDC Flows
  • 2.
    Go to:
    Section User Interface
  • 3.
    In the Scope Translator property create and edit an Oauth 2.0 Scope Translator plugin
  • 4.
    For each scope create and edit an OAuth 2.0 Scope Translation Entry
  • 5.
    In each entry set Scope Pattern and Translation Key
  • 6.
    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
  • 1.
    Use the SDK to add the required translations:
  • REST 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}