Open
Description
Hello folks!
In actions/auth.js
I think there is a bug.createUserProfile
is not called during Github login, so as result profile is not being created.
To my understanding on login to Github handleRedirectResult
should trigger createUserProfile
but it doesn't happen because, firebase.getRedirectResult()
resolves promise with empty data.
I had to trigger profile creation manually, using
onAuthStateChanged: (authData, firebase, dispatch) => {
// trigger
handleRedirectResult(dispatch, firebase, Object.assign(authData, {user: authData}));
},