Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc:Howtos: Token exchange #1437

Open
pgangwani opened this issue Aug 23, 2024 · 2 comments
Open

Doc:Howtos: Token exchange #1437

pgangwani opened this issue Aug 23, 2024 · 2 comments

Comments

@pgangwani
Copy link

pgangwani commented Aug 23, 2024

Issue and Steps to Reproduce

I have usecase of token exchange.
May I know how can we tackle this ?

At a high level, we have 2 oidc servers where login is required only first time and then auto authorize with other. One is local keycloack and other one enterprise Forgerock.

Versions

Any

Screenshots

Expected

Need more example and ways if you are familiar with this.

Actual

Additional Details

  • Installed packages:
@guillaume-chervet
Copy link
Contributor

Hi @pgangwani , thank you for your issue.
I have to read token exchange documentation more in details but i'am pretty sure it is a server side protocol. Do you need to apply token exhange at server side inside you API or from client side ?

@pgangwani
Copy link
Author

pgangwani commented Aug 23, 2024

Imagine like Shell (Parent most wrapper component) which is authenticated always using keycloak id authority . However there is sub component/MFE (think like tab of the which is registered with enterprise IAM - forgerock). Now when sub-compoenent renders, it redirects to enterprise SSO, which I need to silently resolve like in your multi auth example. But only difference is authority is changing to enterprise SSO so token would not work.
Now same logistic can apply to BFF of that MFE and I expect the same solution can apply there as well. Please note I dont have surity that it is solution for library but this is for example / doc if we can achieve some combination like that for the reference.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants