-
Notifications
You must be signed in to change notification settings - Fork 688
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
Guidance Needed: Implementing Two Different OAuth Flows in One Application #1437
Comments
Hi, I was looking into a similar issue today and I did some analysis. Some APIs are registered on our API Gateway with different OAUTH clientId from two different identity providers. Our need is then to be able to call APIs by specifying the IDP and the clientId. The issue, in short, is that OAuthService is really meant to be used as a singleton in a page, meaning that only one IDP and one clientId can be used by the page. Storage access Am I wrong or missing something? |
Hi there,
I'm working on an Angular application that requires two different OAuth flows:
Currently, I'm using the angular-oauth2-oidc library for both flows, but I'm encountering issues when trying to manage two different configurations. Here's a brief overview of my setup:
I've tried a few approaches:
Both approaches have led to conflicts and unexpected behavior, particularly with token storage and management.
Questions:
Any guidance or best practices for managing this scenario would be greatly appreciated.
Thank you for your time and assistance!
The text was updated successfully, but these errors were encountered: