2016-05-11 02:48:33 +00:00
|
|
|
|
2016-12-12 20:20:58 +00:00
|
|
|
=== Creating and Registering the Client
|
2016-05-11 02:48:33 +00:00
|
|
|
|
2017-08-28 12:50:14 +00:00
|
|
|
The next step you have to do is to define and register the client in the {project_name} Admin Console.
|
2016-05-11 02:48:33 +00:00
|
|
|
|
2016-12-12 20:20:58 +00:00
|
|
|
. Log into
|
|
|
|
the Admin Console with your admin account as you did in previous tutorials.
|
|
|
|
|
|
|
|
. In the top left dropdown menu select and manage
|
|
|
|
the `demo` realm. Click `Clients` in the left side menu. The Clients page opens.
|
|
|
|
+
|
2016-05-11 02:48:33 +00:00
|
|
|
.Clients
|
2017-08-28 12:50:14 +00:00
|
|
|
image:{project_images}/clients.png[]
|
2016-05-11 02:48:33 +00:00
|
|
|
|
2016-12-12 20:20:58 +00:00
|
|
|
. On the right click *Create*.
|
2016-05-11 02:48:33 +00:00
|
|
|
|
2016-12-12 20:20:58 +00:00
|
|
|
. Complete the fields as shown below:
|
|
|
|
+
|
2016-05-11 02:48:33 +00:00
|
|
|
.Add Client
|
2017-08-28 12:50:14 +00:00
|
|
|
image:{project_images}/add-client.png[]
|
2016-05-11 02:48:33 +00:00
|
|
|
|
2017-08-28 12:50:14 +00:00
|
|
|
. After clicking the `Save` button your client application entry will be created. You now have to go back to the {appserver_name}
|
|
|
|
instance that the application is deployed on and configure it so that this app is secured by {project_name}. You can obtain
|
|
|
|
a template for the configuration you need by going to the `Installation` tab in the client entry in the {project_name} Admin Console.
|
2016-12-12 20:20:58 +00:00
|
|
|
+
|
2016-05-11 02:48:33 +00:00
|
|
|
.Installation Tab
|
2017-08-28 12:50:14 +00:00
|
|
|
image:{project_images}/client-installation.png[]
|
2016-05-11 02:48:33 +00:00
|
|
|
|
2016-12-12 20:20:58 +00:00
|
|
|
. Select *Keycloak OIDC JBoss Subsystem XML*. An XML template is generated that you'll need to cut and paste.
|
|
|
|
+
|
2016-05-11 02:48:33 +00:00
|
|
|
.Template XML
|
2017-08-28 12:50:14 +00:00
|
|
|
image:{project_images}/client-install-selected.png[]
|
2016-05-11 02:48:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|