Open theCalcaholic opened 4 years ago
Thanks for reporting. I'll ping @chrisveilleux and will transfer the issue to one of the backend repos.
Thank you.
Btw, I noticed that the token transferred during registration via Github has a slightly different key than mentioned in the error message (federatedToken
instead of federated_token
).
This is stopping me from using Mycroft.
My apologies for not following up on this sooner, I hope to make some time to investigate this issue next week.
Sadly it is still not possible to create an account. Any updates on this?
@marhkb Could you provide more color on what you did to attempt account creation? The fix to the GitHub account creation issue was tested by several and is running in our production environments.
I think there is a problem in the ValidateEmailEndpoint it seems to always return accountExists=False
which causes a 500 Internal Server Error when trying to write the same email again to the DB (psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "account_email_address_key"
).
At least this fits the problem I had when I tried to register with an email I did not remember I had an account with already. So trying to reset your password instead of creating an account might help in case someone else facing a 500 error on account creation gets here before the problem is fixed.
I'm unsure which repository this issue should be created on, so I'm opening it here.
I've been trying to register an account with home.mycroft.ai. However, both, email registration and registration with Github as identity provider fail (with different errors).
Email registration
Steps to reproduce
Expected result
A new account should be created that you can log into.
Actual result
The page shows a Toast with the message: "An error occurred, account not added." The Browser dev tools reveal the following error message:
Registration via Github
Steps to reproduce
Expected result
A new account should be created that you can log into.
Actual result
The page shows a Toast with the message: "An error occurred, account not added." The Browser dev tools reveal the following error message:
Tested on Chromium and Firefox.