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

Ability to assign a default organization to a new user logged in via google SSO #4670

Open
nishant-shah-social opened this issue Sep 30, 2024 · 1 comment

Comments

@nishant-shah-social
Copy link

Is your feature request related to a problem? Please describe.

We are running flagsmith self-hosted & have google SSO implemented. Whenever a new user logs in via the SSO, he/she does not get assigned to any organization. Admin has to explicitly send him/her an invite url to be able to join an organization.

Describe the solution you'd like.

It would be good to have a default organization assigned to this new user. May be an environment variable in the app which could control this?
We saw there is a similar environment variable available with LDAP integration, i.e. LDAP_DEFAULT_FLAGSMITH_ORGANISATION_ID
A similar for Google SSO might be really helpful as well.

Describe alternatives you've considered

N/A

Additional context

No response

@matthewelwell
Copy link
Contributor

Thanks @nishant-shah-social , I agree that this would be useful functionality. We would love to receive a PR if you're willing to do so.

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

2 participants