keycloak-scim/authorization_services/topics/hello-world-create-realm.adoc

53 lines
1.6 KiB
Text
Raw Normal View History

2016-11-29 15:30:53 +00:00
[[_getting_started_hello_world_create_realm]]
= Creating a realm and a user
2016-06-17 00:14:05 +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
.Procedure
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
2017-08-28 12:50:14 +00:00
image:{project_images}/getting-started/hello-world/create-realm.png[alt="Realm hello-world-authz"]
2016-06-17 00:14:05 +00:00
. Click *Users*.
+
The user list page displays where you can create a user.
ifeval::[{project_community}==true]
. Click *Create user*.
endif::[]
ifeval::[{project_product}==true]
. Click *Add User*.
endif::[]
. Complete the *Username*, *Email*, *First Name*, and *Last Name* fields.
2016-06-17 00:14:05 +00:00
. Toggle *User Enabled* to *ON*.
2016-06-17 00:14:05 +00:00
ifeval::[{project_community}==true]
. Click *Create*.
endif::[]
ifeval::[{project_product}==true]
. Click *Save*.
endif::[]
2016-11-29 15:30:53 +00:00
+
2016-06-17 00:14:05 +00:00
.Add User
2017-08-28 12:50:14 +00:00
image:{project_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
+
.Set user password
image:{project_images}/getting-started/hello-world/reset-user-pwd.png[alt="Set user password"]
2016-06-17 00:14:05 +00:00
. Complete the *New Password* and *Password Confirmation* fields and toggle *Temporary* to *OFF*.
ifeval::[{project_community}==true]
. Click *Save*.
. Click *Save password*.
endif::[]
ifeval::[{project_product}==true]
2020-01-24 10:52:13 +00:00
. Click *Set Password* to set the user's password.
endif::[]