hasura-auth icon indicating copy to clipboard operation
hasura-auth copied to clipboard

env var to disable sso signup

Open mmmmillar opened this issue 2 years ago • 1 comments

Hi, would you consider an env-var-enabled enhancement that allows SSO login for existing accounts, but disables SSO signup? Atm if you login with Google and a user does not exist it creates a user and logs them in.

eg AUTH_PROVIDER_SIGNUP_ENABLED (true by default)

mmmmillar avatar May 09 '22 17:05 mmmmillar

I think this is a good idea.

In the meantime, you can use the AUTH_ACCESS_CONTROL_* env vars to block/allow emails to sign up.

elitan avatar May 11 '22 08:05 elitan

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 11 '23 15:05 stale[bot]