Remove Anonymous Auth from Examples - Explanation using Phone Authentication #1200
Unanswered
codercatdev
asked this question in
v7 alpha
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The Problem
Trying the examples using emulator and phone auth I hit an error.
http://localhost:3000/screens/phone-auth-screen
I see the call on the server showing
To verify the phone number +15558675309, use the code 995010.
I get a bad request showing issue with invalid session because after the send it
Response is
I am seeing that the phone user was created, so it is odd that I am getting an issue. Then I realize it is still showing Sign Out in the header.
The Fix
It turns out that anonymous auth session is getting in the way. I think it would be more clear to keep this off and show on a different screen the possibility of using it.
lib/firebase/clientApp.ts
Beta Was this translation helpful? Give feedback.
All reactions