Closed LoadJulz closed 1 week ago
Hi @LoadJulz . Thanks for reporting. I'm unable to reproduce this issue. Which browser did you experience this on?
Tried Chrome Desktop and Mobile and Safari. All on Apple devices.
Could it be that this has something to do with a wrong redirect URL? My host app uses a Firebase URL, but without the 'firebaseapp' ending. However, on the Google auth screen, it says that it will redirect to a URL with 'firebaseapp'. You can also check the screenshot for better understanding.
I'm not quite sure. Can you provide a full sample code reproducing this issue?
I've found the issue. Because I was migrating to WASM on another target in my code I needed to add the following to my firebase.json
:
"headers": [
{
"source": "**",
"headers": [
{
"key": "Cross-Origin-Embedder-Policy",
"value": "require-corp"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
}
]
}
]
This leaded to the error for builds that don't use WASM. I will now differentiate between different targets and which firebase.json to use.
Great
Is there an existing issue for this?
Which plugins are affected?
Auth
Which platforms are affected?
Web
Description
After issues with the new google sign in I now want to use
signInWithPopup
from FirebaseAuth. As stated with in the docu this seems pretty straight forward.My prev code looked like this:
And now I have the replaced it with the following, because the old one failed with the new versions:
But now I am getting the error:
The popup has been closed by the user before finalizing the operation.
Is there any workaround to do so?Reproducing the issue
signInWithPopup
Firebase Core version
3.4.0
Flutter Version
3.24.0
Relevant Log Output
Flutter dependencies
Dart SDK 3.5.0 Flutter SDK 3.24.0 applearning 1.0.0+1
dependencies:
dev dependencies:
dependency overrides:
transitive dependencies:
Additional context and comments
No response