Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: regex for AUTOCONFIRM #331

Closed
c4ffein opened this issue Nov 18, 2022 · 2 comments
Closed

Feature: regex for AUTOCONFIRM #331

c4ffein opened this issue Nov 18, 2022 · 2 comments
Labels

Comments

@c4ffein
Copy link

c4ffein commented Nov 18, 2022

Right now, it is possible to set AUTOCONFIRM to true or false for email and phone.
Sometimes, it could be needed to autoconfirm emails from specific domains, or phone numbers from specific countries.

A workaround is possible by setting the status of the created account elsewhere than in gotrue, but the confirmation email would still be sent.

I think it could be useful to provide optional regexes through configuration, and, if the registering email address / phone number matches, it would autoconfirm.

Thanks in advance for considering this issue, whether or not it falls in the scope of this project

Copy link

This issue has been automatically marked as stale because it has not had activity in 1 year. It will be closed in 7 days if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale label Nov 19, 2023
@c4ffein
Copy link
Author

c4ffein commented Nov 19, 2023

Issue continues here as I am instead planning to use Supabase's version in the future

@c4ffein c4ffein closed this as completed Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant