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

Add id_token refresh to Google provider #83

Merged
merged 1 commit into from Mar 5, 2019

Conversation

leki75
Copy link
Contributor

@leki75 leki75 commented Mar 4, 2019

Token refresh does not update id_token in session when using Google provider.

Description

Token refresh does not update id_token in session, so JWT token passed to the backend application is expired while the access_token is updated.

Motivation and Context

Add id_token refresh to Google provider because the JWT token provided by set-authorization-header is outdated after a token refresh.

How Has This Been Tested?

It is tested manually requesting the bearer token from the backend application.

@leki75 leki75 requested a review from a team March 4, 2019 11:42
JoelSpeed
JoelSpeed previously approved these changes Mar 4, 2019
Copy link
Member

@JoelSpeed JoelSpeed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, could you add a note to the changelog and we will get this merged! Thanks

@leki75
Copy link
Contributor Author

leki75 commented Mar 4, 2019

Thank you for your review. I have updated the changelog.

@JoelSpeed JoelSpeed merged commit eacba4e into oauth2-proxy:master Mar 5, 2019
aigarius pushed a commit to aigarius/oauth2_proxy that referenced this pull request Mar 8, 2019
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.

None yet

2 participants