...
Enable Composite Roles
, in the drop down for Client Roles, select chefs
and then select the user
role and click Add selected
.
...
Create the role CHEFS AdministratorAdmin
.
...
Enable Composite Roles
, in the drop down for Client Roles, select chefs
and then select the CHEFS User
and admin
role and click Add selected
for both.
...
Set the Root URL
and Admin URL
to the host your CHEFS app will be listening on. In this example, it’s listening on http://localhost:8081
. Set the Web Origins
to *
to allow all origins. Then click Save
at the bottom of the page.
...
In the Client Scopes tab, select chefs
in the Default Client Scopes under Available Client Scopes and then click Add selected
.
...
In the roles tab, click the Add Role
button to create a role.
...
Check the family name
, email
, client roles
, given name
, full name
, audience resolve
, and username
then click Add selected
.
...
In the Scope tab, select chefs
in the Client Roles and then select admin
and user
and click Add selected
for both of them.
...
Create another Client Scope called chefs-frontend
and disable Display On Consent Screen
.
...
Click on the Mappers tab and then click the Create
button to create some mappers.
...
Create a protocol mapper called chefs-frontend-aud
, set the Mapper type to Audience
then in the Included Client Audience dropdown select chefs-frontend
.
...
Check the family name
, email
, client roles
, given name
, full name
, audience resolve
, and username
then click Add selected
.
...
In the roles page, click on default-roles-chefs
.
...