nhost / hasura-auth

Authentication for Hasura.
https://nhost.io
MIT License
376 stars 111 forks source link

implement AUTH_DISABLE_SIGNUP #437

Closed dbarrosop closed 9 months ago

dbarrosop commented 9 months ago

This feature should basically return an unauthorized error if set to true and a user attempts to signup. This would mean users should be precreated by an admin before they can attempt to sign in (by creating a row into the users table containing email/name and locale at least).

Matheus-Moreira0 commented 9 months ago

Much needed feature, great addition.

onehassan commented 9 months ago

resolved in https://github.com/nhost/hasura-auth/pull/444

dbarrosop commented 9 months ago

0.23.0 introduces:

[auth.signUp]
enabled = false

(needs CLI 1.9.2)