2016-05-11 02:48:33 +00:00
|
|
|
|
2020-07-20 21:00:52 +00:00
|
|
|
[id="registering-app_{context}"]
|
|
|
|
= Registering the {appserver_name} application
|
2016-05-11 02:48:33 +00:00
|
|
|
|
2020-06-18 01:54:58 +00:00
|
|
|
You can now define and register the client in the {project_name} admin console.
|
2016-05-11 02:48:33 +00:00
|
|
|
|
2020-06-18 01:54:58 +00:00
|
|
|
.Prerequisites
|
2016-12-12 20:20:58 +00:00
|
|
|
|
2020-06-18 01:54:58 +00:00
|
|
|
* You installed a client adapter to work with {appserver_name}.
|
|
|
|
|
|
|
|
.Procedure
|
|
|
|
|
|
|
|
. Log in to the admin console with your admin account: http://localhost:8180/auth/admin/
|
|
|
|
|
|
|
|
. In the top left drop-down list, select the `Demo` realm.
|
|
|
|
|
|
|
|
. Click `Clients` in the left side menu to open the Clients page.
|
2016-12-12 20:20:58 +00:00
|
|
|
+
|
2016-05-11 02:48:33 +00:00
|
|
|
.Clients
|
2020-07-20 21:00:52 +00:00
|
|
|
image:images/clients.png[Clients]
|
2016-05-11 02:48:33 +00:00
|
|
|
|
2018-06-07 07:05:21 +00:00
|
|
|
. On the right side, click *Create*.
|
2016-05-11 02:48:33 +00:00
|
|
|
|
2020-06-18 01:54:58 +00:00
|
|
|
. On the Add Client dialog, create a client called *vanilla* by completing the fields as shown below:
|
2016-12-12 20:20:58 +00:00
|
|
|
+
|
2016-05-11 02:48:33 +00:00
|
|
|
.Add Client
|
2020-07-20 21:00:52 +00:00
|
|
|
image:images/add-client.png[Add Client]
|
2016-05-11 02:48:33 +00:00
|
|
|
|
2020-06-18 01:54:58 +00:00
|
|
|
. Click *Save*.
|
2018-06-07 07:05:21 +00:00
|
|
|
|
2020-06-18 01:54:58 +00:00
|
|
|
. On the *Vanilla* client page that appears, click the *Installation* tab.
|
2016-05-11 02:48:33 +00:00
|
|
|
|
2020-06-18 01:54:58 +00:00
|
|
|
. Select *Keycloak OIDC JSON* to generate a file that you need in a later procedure.
|
2016-12-12 20:20:58 +00:00
|
|
|
+
|
2020-06-18 01:54:58 +00:00
|
|
|
.Keycloak.json file
|
2020-07-20 21:00:52 +00:00
|
|
|
image:images/keycloak-json.png[Keycloak.json file]
|
2016-05-11 02:48:33 +00:00
|
|
|
|
2020-06-18 01:54:58 +00:00
|
|
|
. Click *Download* to save *Keycloak.json* in a location that you can find later.
|
2016-05-11 02:48:33 +00:00
|
|
|
|
|
|
|
|
2020-06-18 01:54:58 +00:00
|
|
|
. Select *Keycloak OIDC JBoss Subsystem XML* to generate an XML template.
|
|
|
|
+
|
|
|
|
.Template XML
|
2020-07-20 21:00:52 +00:00
|
|
|
image:images/client-install-selected.png[Template XML]
|
2018-06-07 07:05:21 +00:00
|
|
|
|
2020-07-20 21:00:52 +00:00
|
|
|
. Click *Download* to save a copy for use in the next procedure, which involves {appserver_name} configuration.
|