You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding this issue, i hope that someone is able to give me a little support and in the best case a code example.
-I set my project up using FirebaseAuthentication.useEmulator().
It works well on web, using the emulator.
On the Android Emulator when i click on signingoogle it opens the localhost emulator login screen and then jumps back to the app. in the app i get the error message, that this auth method is not allowed....looks like it's still trying to connect to the live firebase backend and not the emulator. Same with loginApple
On the iOS Simulator it doesn't do anything when i click the signInGoogle Method and when i use the signInApple Method it opens the apple login prompt, but not using the emulator instead also the live firebase backend - even if i configured the App Transport Security to allow arbitrary loads....i can connect to the emulator through the ios safari from emulator to localhost but the login method always tries to use the live backend and not the emulator.
does someone have a code example where the emulator login flow is working?
thanks
This discussion was converted from issue #617 on April 25, 2024 12:25.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Originally posted by @tlebeitsuk in #19 (comment)
Regarding this issue, i hope that someone is able to give me a little support and in the best case a code example.
-I set my project up using FirebaseAuthentication.useEmulator().
It works well on web, using the emulator.
On the Android Emulator when i click on signingoogle it opens the localhost emulator login screen and then jumps back to the app. in the app i get the error message, that this auth method is not allowed....looks like it's still trying to connect to the live firebase backend and not the emulator. Same with loginApple
On the iOS Simulator it doesn't do anything when i click the signInGoogle Method and when i use the signInApple Method it opens the apple login prompt, but not using the emulator instead also the live firebase backend - even if i configured the App Transport Security to allow arbitrary loads....i can connect to the emulator through the ios safari from emulator to localhost but the login method always tries to use the live backend and not the emulator.
does someone have a code example where the emulator login flow is working?
thanks
Beta Was this translation helpful? Give feedback.
All reactions