We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c43c3b8 commit d3ca59bCopy full SHA for d3ca59b
1 file changed
dsf-bpe/dsf-bpe-server/src/main/java/dev/dsf/bpe/client/oidc/OidcClientWithCache.java
@@ -115,7 +115,7 @@ public DecodedJWT getAccessTokenDecoded() throws OidcClientException
115
@Override
116
public DecodedJWT getAccessTokenDecoded(Configuration configuration, Jwks jwks) throws OidcClientException
117
{
118
- if (accessTokenCache != null && accessTokenCache.timeout.isBefore(ZonedDateTime.now()))
+ if (accessTokenCache != null && accessTokenCache.timeout.isAfter(ZonedDateTime.now()))
119
return accessTokenCache.resource;
120
else
121
0 commit comments