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

[Question]: Can two different client-id and identity providers be used in the same page? #2012

Closed
Serge-Libotte opened this issue Sep 25, 2024 · 2 comments
Labels

Comments

@Serge-Libotte
Copy link

Hello, given the documentation it seems the authn service is always a singleton with a unique configuration.
What if two APIs are protected by two different IdP?
I posted the same question about another framework: manfredsteyer/angular-oauth2-oidc#1437
Looking at the code, the use of storage is very similar and will give the same issue.
Is there a solution foreseen for this? (or am I worrying for nothing)

@FabianGosebrink
Copy link
Collaborator

Yes, we do support multiple configurations in this lib.

@Serge-Libotte
Copy link
Author

Thanks, indeed, pretty well done.
I should have RTFM: https://angular-auth-oidc-client.com/docs/documentation/configuration#using-multiple-configs

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

No branches or pull requests

2 participants