Does DEFAULT_GROUP_FOR_DOMAINS work for custom oauth?

Hi team.

I'm using Auth0 for custom SSO for self-hosted retool. Is it possible to avoid inviting new member?
I want a new user to have a default role assigned as soon as he logs in for the first time.

Found DEFAULT_GROUP_FOR_DOMAINS option that could perfectly do what I want but it's ignored for some reason :frowning:

Hey @Ivan_Sabelnikov!

You can enable JIT user provisioning in your advanced settings to avoid inviting users:

As far as automatically assigning groups goes, the DEFAULT_GROUP_FOR_DOMAINS environment variable only applies to Google SSO. If you want to automatically grant users certain permissions you may want to look into setting up some kind of Role Mapping (docs here). Let me know if that's helpful or raises any questions!

1 Like