Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a new client (e.g. call it "bgw_client)
  2. Go to tab "Settings" and set "Implicit Flow Enabled" to ON
  3. Add a "Valid Redirect URIs": https://<domain_name_of_your_keycloak_deployment>/auth/realms/<name_of_your_realm>
  4. Got to tab "Mappers" and create the following two attribute mappers:
    • User attribute mapper. Token Clain Name must be bgw_rules


    • Group attribute mapper. Token Claim Name must be group_bgw_rules:


Add rules to users and groups

Add rules as a user attribute attributes with the same key that is set for User Attribute in the attribute mapper . Multiple rules (i.e. bgw_rules). Multiple rules should be separated with spaces.

...

Add rules as group attributes with the same key that is set in for User Attribute attribute mapper (i.e. group_bgw_rules). Multiple rules should be separated with spaces.

...