-
-
Notifications
You must be signed in to change notification settings - Fork 19
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] Refresh token #166
Comments
I have no idea. Reading docs (https://developers.google.com/identity/protocols/oauth2/web-server#exchange-authorization-code), set
But it has no effect or something in that code wont work and the parameter is not set. |
I found and tested this: https://stackoverflow.com/questions/10827920/not-receiving-google-oauth-refresh-token I can confirm that this time the warning is not shown for my user, so apparently the refresh token is now working. Maybe adding the |
You could test this with
|
Works, thanks! |
Problem Statement
Logs for google say:
Feb 12 15:09:32 shared-hub-vpn-gateway openvpn-auth-oauth2[78178]: time=2024-02-12T15:09:32.333Z level=WARN msg="oauth2.refresh is enabled, but provider does not return refresh token"
If I search online, refresh tokens seem to be supported. Also your Google codes seems to mention getting refresh tokens. Is it supported?
Environment
The text was updated successfully, but these errors were encountered: