Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

AppConsts: AccessTokenExpiration and RefreshTokenExpiration #6963


User avatar
0
abarref created

Hi,

I'm using the asp.net core and angular 7 template, and I'm wondering if the authentication system uses refresh tokens. I just saw that in AppConsts.cs there is AccessTokenExpiration and also RefreshTokenExpiration. Does changing RefreshTokenExpiration has any effects?

Thanks


2 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    ~~Yes, the authentication system uses refresh tokens.~~ The authentication system supports refresh tokens. However, calling the refresh token endpoint is only implemented for the Application.Client project, which is used by the Mobile projects.

    Yes, changing RefreshTokenExpiration has effects.

    Related: aspnetzero/aspnet-zero-core#2364

  • User Avatar
    0
    abarref created

    Thanks for the clarification aaron.