flagsmith icon indicating copy to clipboard operation
flagsmith copied to clipboard

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

Open nishant-shah-social opened this issue 1 year ago • 1 comments

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

nishant-shah-social avatar Sep 30 '24 10:09 nishant-shah-social

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.

matthewelwell avatar Sep 30 '24 11:09 matthewelwell

Closing this as stale. Users can and should be added via invites.

matthewelwell avatar Nov 20 '25 11:11 matthewelwell