We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da71e32 commit a08fb6fCopy full SHA for a08fb6f
src/KubernetesClient/Authentication/OidcTokenProvider.cs
@@ -32,12 +32,12 @@ public async Task<AuthenticationHeaderValue> GetAuthenticationHeaderAsync(Cancel
32
33
private DateTime getExpiryFromToken()
34
{
35
- int expiry;
+ long expiry;
36
var handler = new JwtSecurityTokenHandler();
37
try
38
39
var token = handler.ReadJwtToken(_idToken);
40
- expiry = token.Payload.Exp ?? 0;
+ expiry = token.Payload.Expiration ?? 0;
41
}
42
catch
43
0 commit comments