...
Enable “realm roles” mapper for lightweight access token.Steps: 1. Prerequisite
Step 1 (prerequisite) - enable lightweight access token for folio-backend-admin-client
In order to enable lightweight access token, do the following:
1.1 - Enable “Always use lightweight access token“ for
folio-backend-admin-client
client in “Advanced” client settings
...
Step 2 (solution) - enable “realm roles” mapper for lightweight access token of folio-backend-admin-client
2.1 - Go to “Client scopes” and open scope
folio-backend-admin-client-dedicated
, in “Mappers” click on “Add mapper” → “From predefined mappers”2.2 - Choose “realm roles” mapper
2.3 - Add that mapper, go to it’s details, and enable “Add to lightweight access token” checkbox, and click “Save”
...