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

Create user using command line? #32

Closed
omnicortex opened this issue Sep 25, 2024 · 2 comments
Closed

Create user using command line? #32

omnicortex opened this issue Sep 25, 2024 · 2 comments

Comments

@omnicortex
Copy link

I am running fxa on my local machine offline and have no email to give to FxA. Is there a way to create a user from command line or programmatically? I need to bypass email verification.

@jackyzy823
Copy link
Owner

Hello, you don't really need a valid email.

if you set mail.type to localhelper , you could get activate code from docker-compose logs fxa-auth-local-mail-helper |grep -i code or curl http://$localhelperweb/mail/<name_part_before_at_mark>

Also you could create account programmatically via https://github.com/mozilla/PyFxA , however you still need to activate the account.

@omnicortex
Copy link
Author

Thanks. I was able to get the activation code. I wish there is a way to disable this activation code requirement.

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

No branches or pull requests

2 participants