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

Fix refresh token is not set with Google IdP #15

Merged
merged 1 commit into from
Sep 3, 2018
Merged

Conversation

int128
Copy link
Owner

@int128 int128 commented Sep 3, 2018

See #11.

To request a refresh token, add access_type=offline to the authentication request.
https://developers.google.com/identity/protocols/OpenIDConnect#refresh-tokens

@int128
Copy link
Owner Author

int128 commented Sep 3, 2018

Tested with my Google account.

users:
- name: google
  user:
    auth-provider:
      config:
        client-id: ....apps.googleusercontent.com
        client-secret: ...
        id-token: ey...
        idp-issuer-url: https://accounts.google.com
        refresh-token: 1/...
      name: oidc

@int128 int128 merged commit 717da9d into master Sep 3, 2018
@int128 int128 deleted the refresh-token branch September 3, 2018 21:42
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

Successfully merging this pull request may close these issues.

1 participant