Open Closed

Issue on abp Identity server, Token Expiration is too short (Version 4.4.3) #2474


User avatar
0
bqabani created
  • ABP Framework version: V4.4.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: No Exceptions
  • Steps to reproduce the issue:"

When I log in the application is works fine, when I refresh the page it signs out automatically, I investigated the problem, I figured out that the problem is because the token expiration date is almost the same of the issue date (which is now)

id_token_expires_at 1643093216000 expires_at 1674628916737 access_token_stored_at 1643092916737 id_token_stored_at 1643092916738

(This issue only appear on production, on development everything is up and running )

my time GMT: and my local is GMT+2


4 Answer(s)
  • User Avatar
    0
    bqabani created

    Any update?

  • User Avatar
    0
    bqabani created

    Any update?

  • User Avatar
    0
    gterdem created
    Support Team Senior .NET Developer

    Check your AccessTokenLifetime please. Set it to your desire.

    If it occurs only in production, it maybe related with your production envrionment time settings. Make sure your server is using automatic time settings.

  • User Avatar
    0
    bqabani created

    The issue was resolved not because the previous solution, There was an issue in (Cross Origin Resource) therefor there was an issue in loading the expiry dates

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11