Skip to content

Commit

Permalink
Update ApiClient.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
kspearrin authored Jan 29, 2024
1 parent 1d453ca commit 8736726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Identity/IdentityServer/ApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public ApiClient(
ClientId = id;
AllowedGrantTypes = new[] { GrantType.ResourceOwnerPassword, GrantType.AuthorizationCode, WebAuthnGrantValidator.GrantType };
RefreshTokenExpiration = TokenExpiration.Sliding;
RefreshTokenUsage = TokenUsage.OneTimeOnly;
RefreshTokenUsage = TokenUsage.ReUse;
SlidingRefreshTokenLifetime = 86400 * refreshTokenSlidingDays;
AbsoluteRefreshTokenLifetime = 0; // forever
UpdateAccessTokenClaimsOnRefresh = true;
Expand Down

0 comments on commit 8736726

Please sign in to comment.