Email verification when using MicrosoftAuthProvider #17262
Unanswered
joschkagyde
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am trying to implement Signin via Microsoft in our flutter app.
Everything seems to be working fine:
var userCredential = await firebase_auth.FirebaseAuth.instance.signInWithPopup(microsoftProvider);
is returning a userCredential with the correct values. But emailVerified is always set to false. We tried manually setting this value in our backend via Admin SDK, but unfortunately this didn't work.
I read that this is the expected behaviour for Microsoft Signin - so I am wondering if there are any chances in setting this value to true?
Currently I am trying to send a manual verification mail using
user.sendEmailVerification();
after signing in with the popup - but unfortunately no mail is sent. So this might be a wrong approach?I would be happy for any information about this that might help to a solution!
Cheers, Joschka
Beta Was this translation helpful? Give feedback.
All reactions