Skip to content

Commit

Permalink
Merge pull request #838 from AzureAD/avdunn/missing-metadata
Browse files Browse the repository at this point in the history
Add missing refreshOn metadata
  • Loading branch information
Avery-Dunn authored Jul 14, 2024
2 parents 8d67dca + b5d87dd commit 7618c3d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ public AuthenticationResult fetchTokenUsingAppTokenProvider(AppTokenProviderPara
.idToken(null)
.expiresOn(tokenProviderResult.getExpiresInSeconds())
.refreshOn(tokenProviderResult.getRefreshInSeconds())
.metadata(AuthenticationResultMetadata.builder()
.refreshOn(tokenProviderResult.getRefreshInSeconds() > 0 ? tokenProviderResult.getRefreshInSeconds() : 0)
.build())
.build();
}
}

0 comments on commit 7618c3d

Please sign in to comment.