Versions Compared

Key

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

...

You can set up a new realm through the admin console or simply import realm json file.
Here's a sample realm file


View file
nameaai-resources-realm.json
height150

Image Added

2. Create a client

The client is an entity requesting a credential from a Keycloak. Click the Clients menu

...

Once Settings page, change Access type to confidential, service account, Authorization to on, and leave the default values as they are.

click save.

Image Added

Image Added

3. Create a client role

Select Roles tab

Image Added

Click the Add Role button and create user and admin roles

Image Added

4. Create a realm role

Select Roles from the main menu on the left and click Add role button.

...

Realm roles and client roles are different but there are associations.

Image Added

Once you finished adding role, click app-admin role

Image Added

Select a client for auth-demo-app that we just created above.

Image Added

Associate realm roles to corresponding clients roles

...

Now, create a user employee and grant app-user roles

Image Added

Set Temporary button off because we like to use a permanent password.

Set a password then click Set Password button

Image Added

aai-resource setup

...