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

How can I set the realms parameter dynamically? #223

Open
hirisov opened this issue Sep 1, 2023 · 1 comment
Open

How can I set the realms parameter dynamically? #223

hirisov opened this issue Sep 1, 2023 · 1 comment

Comments

@hirisov
Copy link

hirisov commented Sep 1, 2023

Hello,

I would like to use SocialiteProviders with keycloak with dynamically set configuration as described in the

https://socialiteproviders.com/usage/#overriding-a-config

but I cannot see here how I can override the realms config dynamically. I tried to set it in additionalProviderConfig.site , but that didn't work. I tried to grep the source of this package for expresssion "realm" but didn't find anything.

Can you please help me with it?

@hirisov
Copy link
Author

hirisov commented Sep 1, 2023

Never mind, found the solution, was a typo on my part and providing it in additionalProviderConfig.realms works fine.

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