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

Google login refresh token missing #25

Closed
antonioseric opened this issue Jan 29, 2017 · 1 comment
Closed

Google login refresh token missing #25

antonioseric opened this issue Jan 29, 2017 · 1 comment

Comments

@antonioseric
Copy link
Contributor

I got error for not getting refresh token from google when login with google second time you install app or clear data.

I fix it by adding &prompt=consent in class SimpleAuth.Providers.GoogleAuthenticator method GetInitialUrl return new Uri(uri.AbsoluteUri + "&access_type=offline&prompt=consent");

Reference

Do you have another way to fix it?

@Clancey
Copy link
Owner

Clancey commented Jan 30, 2017

I am unable to duplicate this issue. Are you on the latest version? This sounds like a bug that was fixed a while ago. Cookies were re-added to the webview which caused the same auth to be used again. Also, I dont want to add &prompt=consent since it would require logging in all the time.

@Clancey Clancey closed this as completed Jan 30, 2017
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

2 participants