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

2FA code received in email is formatted incorrectly. #5448

Closed
damiensedgwick opened this issue Sep 22, 2024 · 6 comments · Fixed by bluesky-social/atproto#2825
Closed

2FA code received in email is formatted incorrectly. #5448

damiensedgwick opened this issue Sep 22, 2024 · 6 comments · Fixed by bluesky-social/atproto#2825
Labels
bug Something isn't working

Comments

@damiensedgwick
Copy link

damiensedgwick commented Sep 22, 2024

Describe the bug
If I try to sign into an application, in a browser on iOS and using oauth, the 2FA code that gets sent through to my email has incorrect letter casing so when I copy and paste it, the UI just tells me the code is in an incorrect format.

To Reproduce

Steps to reproduce the behavior:

  1. Try to sign in on https://frontpage.fyi using a mobile browser
  2. Enter your handle
  3. Enter your password
  4. Await the 2FA code to arrive in your emails
  5. Try to use the code

Expected behavior

The 2FA code should be provided in a format which means I can simply copy and paste it.

Screenshots

image

image

Details

  • Platform:

Using iOS and chrome browser.

Additional context

@damiensedgwick damiensedgwick added the bug Something isn't working label Sep 22, 2024
@tom-sherman
Copy link

It's so weird to me that iOS seems to copy the display value (post transform-content: lowercase) and not the underlying markup.

@tom-sherman
Copy link

Tbf it's also weird to me that the email includes it in lowercase but this isn't accepted by that UI.

@tom-sherman
Copy link

This is only an issue with the oauth login flow right? Lowercase codes work on the regular login page?

@damiensedgwick
Copy link
Author

This is only an issue with the oauth login flow right? Lowercase codes work on the regular login page?

Yes, so if I log into the Bluesky app, the lower case values are accepted just fine.

@damiensedgwick
Copy link
Author

I also get the same on macOS using safari:

image

image

@MarshalX
Copy link

was it deployed? got the same right now. ios safari and macos firefox

the regex is still with upper letters

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants