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

Enhancement: Improve handling of OAuth providers with single configuration when clientType is specified #757

Open
anku255 opened this issue Dec 7, 2023 · 0 comments

Comments

@anku255
Copy link
Contributor

anku255 commented Dec 7, 2023

Consider a case where one OAuth provider has multiple config with different clientType but providers have only one config. Since, the frontend client has setup the clientType in the global config, it will always pass that but the backend SDK will fail to find the config for the provider with the given clientType as there is only one config (without specified clientType).

Currently, users need to provide multiple config for each provider in the backendConfig to fix this but a SDK level fix could just ignore the clientType if the provider has only one config.

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