wordplaydev / wordplay

An accessible, language-inclusive programming language and IDE for creating interactive typography on the web.
Other
63 stars 44 forks source link

unable to log in on edge or google chrome #202

Closed willGG11 closed 1 year ago

willGG11 commented 1 year ago

Expected behavior

expected to log in on Wordplay Web as type in an email address

Actual behavior

receives "unable to log in prompt". And no email link was sent for logging in

Provide detailed steps that consistently reproduce the behavior, including any example code. If you can, make the steps as minimal as possible, finding the smallest possible set of steps that still produce the unexpected behavior.

  1. Go to 'https://test.wordplay.dev/'
  2. Click on 'login'
  3. Type in email address
  4. press the login button
  5. receives "unable to log in prompt :("

Screenshots

截屏2023-10-14 16 16 08

Environment

What platform, OS, browser, and version are you using? Please be exact with version numbers, as different versions can result in a defect happening or not.

Desktop

amyjko commented 1 year ago

Clarification: are you running locally the Firebase emulator (npm run emu) when you're doing this? If not, this is expected behavior, since there's no authentication backend. If you are running the emulator, or you're testing on the staging server (test.wordplay.dev), then this is a defect.

willGG11 commented 1 year ago

Clarification: are you running locally the Firebase emulator (npm run emu) when you're doing this? If not, this is expected behavior, since there's no authentication backend. If you are running the emulator, or you're testing on the staging server (test.wordplay.dev), then this is a defect.

Confirmed: use both "test.wordplay.dev" and Firebase emulator( localhost:5173) to login and receive failed prompt

amyjko commented 1 year ago

Can you edit your OS information above? You specified a version but not an operating system.

amyjko commented 1 year ago

(Note: running the Vite dev server on localhost is not the same as running the Firebase emulator. To run the emulator, you have to explicitly run the command npm run emu).

amyjko commented 1 year ago

Tested with emulator and on https://test.wordplay.dev; cannot reproduce. Please provide your OS information and any information in the browser inspector console.

willGG11 commented 1 year ago

I think we can close the issue just for now because I can not reproduce the issue either. I don't now the reason that cause the issue. I believe it might be the unstable internet connection from my end...

amyjko commented 1 year ago

Thanks for reporting @willGG11! Issues like this that depend on backend authentication infrastructure are always hard to test.

amyjko commented 1 year ago

I believe I found the cause of this: test.wordplay.dev was intermittently not receiving correct API keys, which was preventing login. This should be working now. @willGG11, can you confirm?

willGG11 commented 1 year ago

confirmed: it is working now! :>

amyjko commented 1 year ago

Wonderful, thanks for confirming, and reporting.