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
I am using angular 12, firebase 8.6.7 and angular fire 6.1.5
After sign in into firebase with angularfireauth signinwithcustomtoken method which was created with admin sdk createCustomToken method. Everything works fine.
After refresh a page onAuthStateChanged triggers with a sign in user credentials as expected, but when getting some data from rtdb i got a permission denied error message (Client doesn't have permission to access the desired data)
When i changed my code to firebase-js-sdk (without angular fire) everything works fine after page refresh.
Thanks
The text was updated successfully, but these errors were encountered:
I'm facing the same issue here, it drives me crazy, I'm using signInWithEmailAndPassword though.
After long period of testing I have noticed that triggering sign in more than once in the same session fixes the problem, I mean the first time fails and the subsequent times succeeds.
I am using angular 12, firebase 8.6.7 and angular fire 6.1.5
After sign in into firebase with angularfireauth signinwithcustomtoken method which was created with admin sdk createCustomToken method. Everything works fine.
After refresh a page onAuthStateChanged triggers with a sign in user credentials as expected, but when getting some data from rtdb i got a permission denied error message (Client doesn't have permission to access the desired data)
When i changed my code to firebase-js-sdk (without angular fire) everything works fine after page refresh.
Thanks
The text was updated successfully, but these errors were encountered: