35 lines
1.2 KiB
Text
35 lines
1.2 KiB
Text
[[_getting_started_hello_world_create_realm]]
|
|
= Creating a realm and a user
|
|
|
|
The first step in this tutorial is to create a realm and a user in that realm. Then, within the realm we will create a single client application, which then becomes a <<_overview_terminology, resource server>> for which you need to enable authorization services.
|
|
|
|
.Procedure
|
|
|
|
. Create a realm with a name *hello-world-authz*. Once created, a page similar to the following is displayed:
|
|
+
|
|
.Realm hello-world-authz
|
|
image:{project_images}/getting-started/hello-world/create-realm.png[alt="Realm hello-world-authz"]
|
|
|
|
. Click *Users*.
|
|
+
|
|
The user list page displays where you can create a user.
|
|
|
|
. Click *Add User*.
|
|
|
|
. Complete the *Username*, *Email*, *First Name*, and *Last Name* fields.
|
|
|
|
. Toggle *User Enabled* to *ON*
|
|
|
|
. Click *Save*.
|
|
+
|
|
.Add User
|
|
image:{project_images}/getting-started/hello-world/create-user.png[alt="Add User"]
|
|
|
|
. Set a password for the user by clicking the *Credentials* tab.
|
|
+
|
|
.Set user password
|
|
image:{project_images}/getting-started/hello-world/reset-user-pwd.png[alt="Set user password"]
|
|
|
|
. Complete the *New Password* and *Password Confirmation* fields with a password and click the *Temporary* switch to *OFF*.
|
|
|
|
. Click *Set Password* to set the user's password.
|