From: Pritha Srivastava Date: Fri, 13 Mar 2020 05:41:02 +0000 (+0530) Subject: rgw: Updating STS dcoument with references to new keycloak X-Git-Tag: v16.1.0~1209^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=88197a6fbb3cd8aa01779b17f5809ea9087b105b;p=ceph.git rgw: Updating STS dcoument with references to new keycloak examples. Signed-off-by: Pritha Srivastava --- diff --git a/doc/radosgw/keycloak.rst b/doc/radosgw/keycloak.rst index b160c439bf84..509f6fdc35bf 100644 --- a/doc/radosgw/keycloak.rst +++ b/doc/radosgw/keycloak.rst @@ -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= + KC_CLIENT_SECRET= KC_SERVER=:8080 KC_CONTEXT=auth