From 1738429e10c6cf015a0624a0c260d90f2aa8b3f4 Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Thu, 2 Apr 2015 13:13:17 +0200 Subject: [PATCH] Comment out store tokens in admin console, and store/retrieve tokens in docs --- .../en/en-US/modules/identity-broker.xml | 132 +++++++++--------- .../realm-identity-provider-oidc.html | 14 +- .../realm-identity-provider-saml.html | 14 +- .../realm-identity-provider-social.html | 14 +- 4 files changed, 87 insertions(+), 87 deletions(-) diff --git a/docbook/reference/en/en-US/modules/identity-broker.xml b/docbook/reference/en/en-US/modules/identity-broker.xml index 74bd40af23..397fd02ca5 100755 --- a/docbook/reference/en/en-US/modules/identity-broker.xml +++ b/docbook/reference/en/en-US/modules/identity-broker.xml @@ -284,17 +284,17 @@ during the authentication process. - - - Store Tokens - - - Allows you to store tokens issued by an identity provider during the authentication of a specific user. - Tokens are stored and can be retrieved later. - This options is useful if you are using social authentication and need to access the token in order to invoke the - API of a social provider on behalf of the user. - - + + + + + + + + + + + @@ -1097,61 +1097,61 @@ -
- Retrieving Tokens from Identity Providers - - Keycloak allows you to store tokens and responses from identity providers during the authentication process. - For that, you can use the Store Token configuration option, as mentioned before. - - - It also allows you to retrieve these tokens and responses once the user is authenticated in order to use their - information or use them to invoke external resources protected by these tokens. - The latter case is usually related with social providers, - where you usually need to use their tokens to invoke methods on their APIs. - - - To retrieve a token for a particular identity provider you need to send a request as follows: - - - - In this case, given that you are accessing an protected service in Keycloak, you need to send the access token - issued by Keycloak during the user authentication. - - - By default, the Keycloak access token issued for the application can't be automatically used for retrieve thirdparty token. You will - need to enable this in admin console first: - - - - Click 'Applications' on the left side menu. - - - - - Select an application from the list. - - - - - Click the 'Identity Provider' tab. - - - - - From this page you can configure if an application is allowed to retrieve tokens from an specific identity provider. For that, - just click on the Can Retrieve Token button. - - - - - - - If your application is not at the same origin as the authentication server, make sure you have properly configured CORS. - - -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Automatically Select and Identity Provider diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-oidc.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-oidc.html index cd14415429..7bf40354a3 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-oidc.html +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-oidc.html @@ -41,13 +41,13 @@ -
- -
- -
- -
+ + + + + + +
diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-saml.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-saml.html index 7d7008609b..10327e6c5f 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-saml.html +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-saml.html @@ -41,13 +41,13 @@
-
- -
- -
- -
+ + + + + + +
diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-social.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-social.html index 97d53cbf0e..0a8b56a5c6 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-social.html +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-social.html @@ -45,13 +45,13 @@
-
- -
- -
- -
+ + + + + + +