Explore the features of the Red Hat Single Sign-On web based admin console.
Outcomes
Navigate the RH-SSO Admin Console.
Create realms and users.
Enable and review the logs for the login and admin events.
Navigate the RH-SSO user account console.
As the student user on the workstation machine, use the lab command to prepare your system for this exercise.
This command prepares your environment and ensures that all required resources are available.
[student@workstation ~]$ lab start install-adminconsole
Procedure 2.2. Instructions
Log in as the admin user in the RH-SSO Admin Console.
On the workstation machine, use Firefox to navigate to the RH-SSO web UI URL at https://sso.lab.example.com:8080.
Click .
Log in as the admin user with redhat as the password.
By default, the main page shows the menu for the rhtraining realm.
Create a realm called demo.
Hover over the Rhtraining realm name in the left menu of your screen.
Click the button that appears.
In the menu, enter demo in the field and click .
The Demo realm configuration page appears.
Enable the logs for the login and admin events.
In the left menu of your screen, click → .
Click the tab.
In the section, switch to . This option saves the login events to the database, making them available to the admin and account management consoles. Set to 10 hours.
In the section, switch to .
Click .
Review the login and admin events log.
Change to the tab. The events list is empty because no log in attempt has been registered after the login events activation.
Change to the tab. There is one event regarding the logging activation. You can verify that it is an update of the events configuration.
Create a user called johndoe in the Demo realm.
The configuration parameters must be as follows:
| Parameter | Value |
|---|---|
| Username | johndoe |
| johndoe@example.com | |
| First Name | John |
| Last Name | Doe |
Verify that the Demo realm is selected.
In the left menu of your screen, click → .
Click .
Fill the different fields by using the parameters in the table. Leave the other fields as per default.
Click to create the user.
The johndoe user configuration page appears.
Create a temporary password for the johndoe user.
The user must change it after accessing the account for the first time.
In the user configuration page, navigate to the tab.
Fill the and fields by using testpass.
Verify that the selection button is ON.
Click . In the confirmation window that appears, click .
Confirm the johndoe user can access its account console in the Demo realm.
Open a new tab in Firefox and navigate to https://sso.lab.example.com:8080/auth/realms/demo/account/. Click .
Log in as the johndoe user with the temporary password testpass.
An Update password page appears.
Use redhat as the new password for the johndoe user.
Review the login and admin events log after the user creation and log in.
Switch to the Admin Console tab in Firefox. In the left menu of your screen, click → .
Navigate to the tab. You can verify that RH-SSO stores the events when updating the password, when logging in to the account, or when a client exchanges a code for a token.
Navigate to the tab. The log stores the events when creating the user and setting their password.
Log the johndoe user out of their session.
Navigate to the → menu.
Verify that there is one active session for the account-console client.
If there is no active session for the account-console client, then switch to the account console tab in Firefox and log in again as the johndoe user.

Click the account-console client.
In the tab for the account-console client, click .
Verify that there is an active session for the johndoe user in the account-console client.
Click the johndoe user.

In the johndoe user configuration page, click the tab.
Click for the account-console client.
Switch to the account console tab in Firefox and reload it. Verify the user is logged out from the account console. Close the tab.