Base solution for your next web application
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

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    abarref created

    Thanks for the clarification aaron.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)