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

Send verification email after registration #190

Open
chuong98 opened this issue Aug 9, 2024 · 5 comments
Open

Send verification email after registration #190

chuong98 opened this issue Aug 9, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@chuong98
Copy link

chuong98 commented Aug 9, 2024

Hi, thanks for the package.
It will be more practical if after registering, we send an auto generated password (or a verification link) to the email that user registered.

The user needs to login with the received password for the first time (or click on verification link).

It is almost a standard process to avoid creating user with fake email.

Thank you.

@mkhorasani
Copy link
Owner

Hi @chuong98, currently you can specify a list of pre-authorized emails or domains that are allowed to register, anything else will not be allowed to register. Please check the pre_authorized feature for this widget. However, in the future, I do plan on implementing such a feature.

@mkhorasani mkhorasani added the enhancement New feature or request label Aug 9, 2024
@nchanko
Copy link

nchanko commented Aug 19, 2024

Hi @mkhorasani . I've been searching for authentication method in streamliit for months, and I found yours.
It's a wonderful library. Kudos to you.
I also found some bugs in registration, saw it's been reported.
If unauthorized person knows preauthorized email address, they can login before the actual owner does?

@chuong98
Copy link
Author

Hi @mkhorasani . I've been searching for authentication method in streamliit for months, and I found yours.
It's a wonderful library. Kudos to you.
I also found some bugs in registration, saw it's been reported.
If unauthorized person knows preauthorized email address, they can login before the actual owner does?

Yes, theoretically he can create an account with his password before the true owner does.
In my case, I don't want limit the user registration, but they must use their real email.

@mkhorasani
Copy link
Owner

mkhorasani commented Aug 20, 2024

Hi @mkhorasani . I've been searching for authentication method in streamliit for months, and I found yours. It's a wonderful library. Kudos to you. I also found some bugs in registration, saw it's been reported. If unauthorized person knows preauthorized email address, they can login before the actual owner does?

This is not a bug per se and is intentional by design. There's no reason why a user should have access to the list of pre-authorized emails, in the same way that the user should not have access to any other private information in the config file.

@mkhorasani
Copy link
Owner

Hi @mkhorasani . I've been searching for authentication method in streamliit for months, and I found yours.
It's a wonderful library. Kudos to you.
I also found some bugs in registration, saw it's been reported.
If unauthorized person knows preauthorized email address, they can login before the actual owner does?

Yes, theoretically he can create an account with his password before the true owner does. In my case, I don't want limit the user registration, but they must use their real email.

Yes, if you want to limit user registration by domain name, you can use the domains parameter in the register_user widget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants