Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect uri? #3

Closed
gumdum opened this issue Feb 20, 2022 · 5 comments
Closed

Redirect uri? #3

gumdum opened this issue Feb 20, 2022 · 5 comments

Comments

@gumdum
Copy link

gumdum commented Feb 20, 2022

Is there a place to set the redirect uri? It's actually popping up on my desktop, but using FirebaseAuth, it is returning a 'Error 400: redirect_uri_mismatch' error that the request uri is not present. Of course the request uri changes on desktop version it appears: 127.0.0.1:xxx the port constantly changes, so it cant be set in the Oauth panel of google.

flutter: PlatformException(failed_to_recover_auth,

<title>503 Service Unavailable</title>

Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

, null, null)
@long1eu
Copy link
Owner

long1eu commented Feb 22, 2022 via email

@ozozozd
Copy link

ozozozd commented Apr 14, 2022

I tested the example and it somehow successfully redirects to 127.0.0.1 with random ports.

@long1eu can you share how you set up your Google OAuth to allow that?

@long1eu
Copy link
Owner

long1eu commented Apr 14, 2022

@ozozozd have a look at the example folder

@ozozozd
Copy link

ozozozd commented Apr 27, 2022

Just submitted a PR for the port parameter.
https://github.com/long1eu/google_sign_in_dart/pull/5/files

Although I still have no idea how the example works without a fixed port.

@long1eu
Copy link
Owner

long1eu commented Apr 28, 2022

fixed by #5

@long1eu long1eu closed this as completed Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants