Ability to assign a default organization to a new user logged in via google SSO
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
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.
Closing this as stale. Users can and should be added via invites.