You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had an issue with the example LegacyOAuthSecurityTokenHandler and it not checking for Expired tokens. We changed it to the below which resolved the issue for us.
var ticket = LegacyOAuthSecurityTokenHelper.GetTicket(token, _options);
if (ticket.Properties.ExpiresUtc < DateTime.UtcNow)
throw new SecurityTokenExpiredException();
The text was updated successfully, but these errors were encountered:
Hi
We had an issue with the example LegacyOAuthSecurityTokenHandler and it not checking for Expired tokens. We changed it to the below which resolved the issue for us.
The text was updated successfully, but these errors were encountered: