Base solution for your next web application
Open Closed

Failed to validate token after integrate refresh token #8548


User avatar
0
BTTCorp created

Hello We are using Asp.Net Core + angular, our product version is 6.5. i have made change for refresh token from backend side in the mention below files

1. TokenAuthController 2. JwtSecurityStampHandler (New) 3. IJwtSecurityStampHandler (New) 4. EnumTokenTypes (New) 5. PortalJwtSecurityTokenHandler 6. TokenAuthConfiguration

We are using identity server, so we have added additional identifier as an the claim.

the Authentication works fine giving me access & refresh token, but not able to access any other service data it's failed at validate token and throw SecurityTokenException

userManagerObject.IsTokenValidityKeyValidAsync(user, tokenValidityKeyClaim.Value)

Can you please let us know we did wrong or anything else that we are missing as soon as possible?


1 Answer(s)
  • User Avatar
    0
    musa.demir created

    Hello @BTTCorp First of all sory for late response.

    Since we can not reproduce your problem, can you please share more information about your problem. For example:

    • What your exceptions says.
    • The row which throws that exception.
    • Your log file rows which includes that error logs. etc.