bitcoin
bitcoin

$103198.127882 USD

-0.01%

ethereum
ethereum

$2474.409885 USD

-0.22%

tether
tether

$1.000262 USD

0.00%

xrp
xrp

$2.354016 USD

0.58%

bnb
bnb

$641.755274 USD

0.26%

solana
solana

$167.082940 USD

0.91%

usd-coin
usd-coin

$0.999882 USD

0.00%

dogecoin
dogecoin

$0.214907 USD

-0.28%

cardano
cardano

$0.738322 USD

-0.32%

tron
tron

$0.271878 USD

1.37%

sui
sui

$3.756607 USD

1.48%

chainlink
chainlink

$15.322668 USD

0.07%

avalanche
avalanche

$22.077437 USD

-1.72%

stellar
stellar

$0.285702 USD

-0.54%

hyperliquid
hyperliquid

$26.439505 USD

-1.93%

Cryptocurrency News Video

Keycloak uses Authentication Code Flow with Token Relay to achieve cross-domain SSO

Apr 09, 2025 at 04:00 pm albert lee

Purpose: To demonstrate the implementation of OIDC Authorization Code Flow with Token Relay architecture to achieve cross-domain Single Sign On (SSO). Background: The company currently has an online insurance website, the URL is https://insurance.mycompany.com. It is planning a new gathering platform website, which will be developed and managed out of the committee, and the URL is https://rewards.outsource.com. Since the gathering platform website is outsourced, the domain name is different from online insurance, and it is impossible to use cookies to achieve SSO, so it is planned to use OIDC Authorization Code Flow + Token Relay architecture to achieve SSO. Brief Description of the solution: Let both websites use Keycloak As a shared identity source (IdP), the process is as follows: Authorization Code Flow: User visits any website (such as the Jidian website). This website detects that the user is not logged in, and guides the Keycloak login page. Keycloak detects that it has been logged in (because another website has been logged in and has a session), and jumps back to redirect_uri. The website uses code to exchange for access token/ID token. Why can this solution implement cross-domain SSO: Because all websites use Keycloak to log in, after logging in, the token is stored in the Keycloak website cookie. When the website uses Authorization Code Flow to convert to Keycloak, Keycloak can judge the user's login status. If you have logged in, Authentication will be generated. Code
Video source:Youtube

Disclaimer:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

Other videos published on May 19, 2025