Closed sergchernata closed 4 years ago
same issue - would love to know what solution to use.
Would be nice to get a response here.
I migrated from TORII to Ember-Simple-Auth and that seemed to work for me.
I migrated from TORII to Ember-Simple-Auth and that seemed to work for me.
Interesting, I'm already on Simple Auth. Which version of emberfire and simple auth are you using?
Were able to make it work via onAuthStateChanged
listener instead of signInWithPopup(provider) .then
.
Authentication works,
result
holds details from auth provider, butthis.session.isAuthenticated
is false in the console output below. This results in a failed redirect of the user; protected area sends him back to root index.I can then click to get back into the protected area, so maybe there is simply a delay in the session update. Maybe it doesn't update fast enough and refuses user access.
Version info