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

Introduce configurations to enable or disable authenticated user validation for the refresh grant flow #5976

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@
<TimestampSkew>0</TimestampSkew>
<!-- Enable renewal of refresh token for refresh_token grant -->
<RenewRefreshTokenForRefreshGrant>true</RenewRefreshTokenForRefreshGrant>
<!-- Enable the authenticated user validation config for refresh grant -->
<ValidateAuthenticatedUserForRefreshGrant>false</ValidateAuthenticatedUserForRefreshGrant>
<!-- Enable Extend renews refresh token expiry time -->
<ExtendRenewedRefreshTokenExpiryTime>true</ExtendRenewedRefreshTokenExpiryTime>
<!-- Process the token before storing it in database, e.g. encrypting -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,8 @@
<TimestampSkew>{{oauth.timestamp_skew}}</TimestampSkew>
<!-- Enable renewal of refresh token for refresh_token grant -->
<RenewRefreshTokenForRefreshGrant>{{oauth.token_renewal.renew_refresh_token}}</RenewRefreshTokenForRefreshGrant>
<!-- Enable the authenticated user validation config for refresh grant -->
<ValidateAuthenticatedUserForRefreshGrant>{{oauth.token_renewal.validate_authenticated_user_for_refresh_grant}}</ValidateAuthenticatedUserForRefreshGrant>
<!-- Enable password grant to go through the framework -->
<EnablePasswordFlowEnhancements>{{oauth.enable_password_grant_enhancements}}</EnablePasswordFlowEnhancements>
<!-- Enable Extend renews refresh token expiry time -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"oauth.token_validation.refresh_token_validity": "1d",
"oauth.timestamp_skew": "0m",
"oauth.token_renewal.renew_refresh_token": true,
"oauth.token_renewal.validate_authenticated_user_for_refresh_grant": false,
"oauth.enable_password_grant_enhancements": false,
"oauth.token_renewal.extend_refresh_token_expiry_time_on_renewal": true,
"oauth.token_renewal.renew_access_token_per_request": false,
Expand Down
Loading