parent
b67ede2a30
commit
bbeac9d533
4 changed files with 9 additions and 7 deletions
|
@ -54,6 +54,8 @@ oc process -f https://raw.githubusercontent.com/keycloak/keycloak-quickstarts/la
|
||||||
-p NAMESPACE=keycloak \
|
-p NAMESPACE=keycloak \
|
||||||
| oc create -f -
|
| oc create -f -
|
||||||
----
|
----
|
||||||
|
+
|
||||||
|
In this example, the user name and and password are `admin`.
|
||||||
|
|
||||||
. Once the command above completes, look for a message similar to this:
|
. Once the command above completes, look for a message similar to this:
|
||||||
+
|
+
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
To secure the first application, you start by registering the application with your Keycloak instance:
|
To secure the first application, you start by registering the application with your Keycloak instance:
|
||||||
|
|
||||||
. Open the {links-admin-console}.
|
. Open the {links-admin-console}.
|
||||||
|
. Click the word *master* in the top-left corner, then click *myrealm*.
|
||||||
. Click *Clients*.
|
. Click *Clients*.
|
||||||
. Click *Create client*
|
. Click *Create client*
|
||||||
. Fill in the form with the following values:
|
. Fill in the form with the following values:
|
||||||
|
@ -10,13 +11,11 @@ To secure the first application, you start by registering the application with y
|
||||||
** *Client ID*: `myclient`
|
** *Client ID*: `myclient`
|
||||||
. Click *Next*
|
. Click *Next*
|
||||||
. Confirm that *Standard flow* is enabled.
|
. Confirm that *Standard flow* is enabled.
|
||||||
. Click *Save*.
|
. Click *Next*.
|
||||||
|
+
|
||||||
image::add-client-1.png[Add Client]
|
image::add-client-1.png[Add Client]
|
||||||
|
|
||||||
After the client is created, make these updates to the client:
|
. Make these changes under *Login settings*.
|
||||||
|
|
||||||
. Scroll down to *Access settings*.
|
|
||||||
* Set *Valid redirect URIs* to `+https://www.keycloak.org/app/*+`
|
* Set *Valid redirect URIs* to `+https://www.keycloak.org/app/*+`
|
||||||
* Set *Web origins* to `+https://www.keycloak.org+`
|
* Set *Web origins* to `+https://www.keycloak.org+`
|
||||||
. Click *Save*.
|
. Click *Save*.
|
||||||
|
|
|
@ -11,7 +11,7 @@ includes a single realm, called `master`. Use this realm only for managing Keycl
|
||||||
Use these steps to create the first realm.
|
Use these steps to create the first realm.
|
||||||
|
|
||||||
. Open the {links-admin-console}.
|
. Open the {links-admin-console}.
|
||||||
. Click the word *master* in the top-left corner, then click *Create realm*.
|
. Click the word *master* in the top-left corner, then click *Create Realm*.
|
||||||
. Enter `myrealm` in the *Realm name* field.
|
. Enter `myrealm` in the *Realm name* field.
|
||||||
. Click *Create*.
|
. Click *Create*.
|
||||||
|
|
||||||
|
@ -22,8 +22,9 @@ image::add-realm.png[Add realm]
|
||||||
Initially, the realm has no users. Use these steps to create a user:
|
Initially, the realm has no users. Use these steps to create a user:
|
||||||
|
|
||||||
. Open the {links-admin-console}.
|
. Open the {links-admin-console}.
|
||||||
|
. Click the word *master* in the top-left corner, then click *myrealm*.
|
||||||
. Click *Users* in the left-hand menu.
|
. Click *Users* in the left-hand menu.
|
||||||
. Click *Create new user*.
|
. Click *Add user*.
|
||||||
. Fill in the form with the following values:
|
. Fill in the form with the following values:
|
||||||
** *Username*: `myuser`
|
** *Username*: `myuser`
|
||||||
** *First name*: any first name
|
** *First name*: any first name
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 104 KiB |
Loading…
Reference in a new issue