mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
rgw: Updating STS dcoument with references to new keycloak
examples. Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
This commit is contained in:
parent
c092af0399
commit
88197a6fbb
@ -28,13 +28,13 @@ The format of token inspection url is https://[base-server-url]/token/introspect
|
||||
Example showing how to fetch a web token from Keycloak
|
||||
======================================================
|
||||
|
||||
Several examples of apps authenticating with Keycloak are given here: https://github.com/keycloak/keycloak/tree/master/examples/demo-template
|
||||
Taking the example of customer-portal app given in the link above, its client secret and client password, can be used to fetch the
|
||||
Several examples of apps authenticating with Keycloak are given here: https://github.com/keycloak/keycloak-quickstarts/blob/latest/docs/getting-started.md
|
||||
Taking the example of app-profile-jee-jsp app given in the link above, its client secret and client password, can be used to fetch the
|
||||
access token (web token) as given below::
|
||||
|
||||
KC_REALM=demo
|
||||
KC_CLIENT=customer-portal
|
||||
KC_CLIENT_SECRET=password
|
||||
KC_CLIENT=<client id>
|
||||
KC_CLIENT_SECRET=<client secret>
|
||||
KC_SERVER=<host>:8080
|
||||
KC_CONTEXT=auth
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user