2016-11-29 15:30:53 +00:00
[[_getting_started_hello_world_create_realm]]
2022-04-18 14:10:57 +00:00
= Creating a realm and a user
2016-06-17 00:14:05 +00:00
2018-01-24 13:59:58 +00:00
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.
2016-06-17 00:14:05 +00:00
2022-04-18 14:10:57 +00:00
.Procedure
2016-11-15 21:34:20 +00:00
2016-11-29 15:30:53 +00:00
. Create a realm with a name *hello-world-authz*. Once created, a page similar to the following is displayed:
+
2016-06-17 00:14:05 +00:00
.Realm hello-world-authz
2022-10-13 20:14:20 +00:00
image:images/getting-started/hello-world/create-realm.png[alt="Realm hello-world-authz"]
2016-06-17 00:14:05 +00:00
2022-04-18 14:10:57 +00:00
. Click *Users*.
+
The user list page displays where you can create a user.
2022-07-25 20:36:51 +00:00
. Click *Create user*.
2022-04-18 14:10:57 +00:00
. Complete the *Username*, *Email*, *First Name*, and *Last Name* fields.
2022-07-25 20:36:51 +00:00
. Toggle *User Enabled* to *ON*.
. Click *Create*.
2016-11-29 15:30:53 +00:00
+
2016-06-17 00:14:05 +00:00
.Add User
2022-10-13 20:14:20 +00:00
image:images/getting-started/hello-world/create-user.png[alt="Add User"]
2016-06-17 00:14:05 +00:00
2017-02-16 19:40:40 +00:00
. Set a password for the user by clicking the *Credentials* tab.
2016-11-29 15:30:53 +00:00
+
2022-04-18 14:10:57 +00:00
.Set user password
2022-10-13 20:14:20 +00:00
image:images/getting-started/hello-world/reset-user-pwd.png[alt="Set user password"]
2016-06-17 00:14:05 +00:00
2022-07-25 20:36:51 +00:00
. Complete the *New Password* and *Password Confirmation* fields and toggle *Temporary* to *OFF*.
2016-11-15 21:34:20 +00:00
2022-07-25 20:36:51 +00:00
. Click *Save*.
. Click *Save password*.