Skip to content
This repository has been archived by the owner. It is now read-only.

Cannot send unblock code if using the wrong email case #4467

Closed
shane-tomlinson opened this issue Nov 28, 2016 · 1 comment
Closed

Cannot send unblock code if using the wrong email case #4467

shane-tomlinson opened this issue Nov 28, 2016 · 1 comment
Assignees
Labels

Comments

@shane-tomlinson
Copy link
Member

@shane-tomlinson shane-tomlinson commented Nov 28, 2016

Copied over from mozilla/fxa-auth-server#1573

/account/login/send_unblock_code responds with http response 503, error number 202, "feature not enabled"

STR

  1. Using local dev, sign up for Sync using block123@restmail.net
  2. Verify email address from 1.
  3. Sign out of Sync.
  4. Sign in to Sync using BLOCK123@restmail.net
  5. Go back a screen and try block123@restmail.net, everything works as expected.

Response to /account/login using BLOCK123@restmail.net

screen shot 2016-11-28 at 13 49 05

Response to /account/login/send_unblock_code using BLOCK123@restmail.net

screen shot 2016-11-28 at 13 47 09

Ref mozilla/fxa-auth-server#1570

A content-server only fix is to use the normalized email returned to the first call to signIn. We'll have to set skipCaseError=true to retry ourselves and get access to the email.

@shane-tomlinson
Copy link
Member Author

@shane-tomlinson shane-tomlinson commented Nov 28, 2016

Ref #3893, #4463

shane-tomlinson pushed a commit that referenced this issue Nov 28, 2016
Signin unblock is broken if the user types their email using different
casing to when they signed up. The auth server returns an error that
says "Feature not enabled". This fixes that by updating the model
with the email that is returned by the server if it returns an
INCORRECT_EMAIL_CASE error.

Unfortunately, the sync v3 functional test fails,
trying to figure out why.

fixes #3893
fixes #4467
shane-tomlinson pushed a commit that referenced this issue Nov 29, 2016
Signin unblock is broken if the user types their email using different
casing to when they signed up. The auth server returns an error that
says "Feature not enabled". This fixes that by updating the model
with the email that is returned by the server if it returns an
INCORRECT_EMAIL_CASE error.

Unfortunately, the sync v3 functional test fails,
trying to figure out why.

fixes #3893
fixes #4467
shane-tomlinson pushed a commit that referenced this issue Nov 29, 2016
Signin unblock is broken if the user types their email using different
casing to when they signed up. The auth server returns an error that
says "Feature not enabled". This fixes that by updating the model
with the email that is returned by the server if it returns an
INCORRECT_EMAIL_CASE error.

Unfortunately, the sync v3 functional test fails,
trying to figure out why.

fixes #3893
fixes #4467
shane-tomlinson pushed a commit that referenced this issue Nov 29, 2016
Signin unblock is broken if the user types their email using different
casing to when they signed up. The auth server returns an error that
says "Feature not enabled". This fixes that by updating the model
with the email that is returned by the server if it returns an
INCORRECT_EMAIL_CASE error.

Unfortunately, the sync v3 functional test fails,
trying to figure out why.

fixes #3893
fixes #4467
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants