When logging in to Firebase with Microsofts Azure AD as an authentication service by using provider.getCredentialWith(_: nil) I am able to open the Microsoft login page.
After entering the correct email + password then the following error appears inside the In-App-Browser:
"Unable to process request due to missing initial state. This may happen if browser sessionStorage is inaccessible or accidentally cleared."
What did work for me as a workaround:
In my completion handler of provider.getCredentialWith(_: nil) I call the same function with a delay of 1second again if an error was thrown. On the second run it always succeeds and gives me the credentials back.
provider.getCredentialWith(_: nil){credential, error in
if error != nil {
self.errorText = "Error"
return
}
if let credential = credential {
firebaseSignIn(credential: credential)
}
}
Same issue :(
Same issue
same issue
same issue for google sign in on web
Same issue. Please fix, we want to use Firebase for auth but this is making it very difficult 馃サ
Most helpful comment
same issue for google sign in on web