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: Move refresh rotate check to refresh flow #2437

Merged
merged 1 commit into from
Aug 17, 2023
Merged

fix: Move refresh rotate check to refresh flow #2437

merged 1 commit into from
Aug 17, 2023

Conversation

strehle
Copy link
Member

@strehle strehle commented Aug 10, 2023

Add client_auth_method to access token always but allow refresh (without secret) only if token before was client_auth=none and client has rotate=true for refresh tokens

Refactor feature from #2402

During dev/test of #2435 found that it is a bad idea to combine the setting at the begin with rotate. So the access_token should have client_auth_method=none always if there was no secret (or empty secret)
Later in refresh flow the check should be done if rotate=true and then allow refresh without secret

Add client_auth_method to access token always but allow refresh (without secret) only if token before was client_auth=none and client has rotate=true for refresh tokens
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/185805382

The labels on this github issue will be updated when the story is started.

@strehle strehle merged commit 4021783 into develop Aug 17, 2023
18 checks passed
@strehle strehle deleted the fixRotate branch August 17, 2023 15:53
@cf-gitbot cf-gitbot added delivered accepted Accepted the issue and removed delivered labels Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Accepted the issue
Projects
Development

Successfully merging this pull request may close these issues.

3 participants