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

Parallel Usage of OpenIdConnectClient [Multi Tenancy] #34

Open
ahmednfwela opened this issue Apr 14, 2023 · 1 comment
Open

Parallel Usage of OpenIdConnectClient [Multi Tenancy] #34

ahmednfwela opened this issue Apr 14, 2023 · 1 comment

Comments

@ahmednfwela
Copy link
Collaborator

Use case

Multi tenant applications, where a user needs to authenticate each tenant separately, but can switch between them at will.

Proposal

There are 2 possible paths here.

  1. An OpenIdConnectClient per tenant, A single OpenIdIdentity per client: we have to add a tenantId to each client, and provide a way to pass it to each request, similar to what firebase auth is doing.
  2. A shared OpenIdConnectClient, Multiple OpenIdIdentity per client: we need to add a way to uniquely identify/persist multiple OpenIdIdentitys
@ahmednfwela
Copy link
Collaborator Author

cc @jhancock4d

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

1 participant