Skip to content

Commit 78e673b

Browse files
authored
Update customize-authentication-session-expiration.md
1 parent 819a9b7 commit 78e673b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

support/entra/entra-id/app-integration/customize-authentication-session-expiration.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ ms.custom: sap:Developing or Registering apps with Microsoft identity platform
1010

1111
By default, Microsoft Entra ID tokens (ID tokens, access tokens, and SAML tokens) expire after one hour. Also by default, ASP.NET and ASP.NET Core middleware set their authentication tickets to the expiration of these tokens. If you don't want your web application to redirect users to Microsoft Entra ID to have them sign in again, you can customize the middleware authentication ticket.
1212

13-
This customization can also help resolve AJAX issues (such as CORS errors to `login.microsoftonline.com`) where your app is both a Web App and Web API.
14-
13+
This customization can also help resolve AJAX-related issues, such as coss-origin resource sharing (CORS) errors to login.microsoftonline.com. These issues often occur when your app functions as both a web application and a web API.
1514
## For ASP.NET
1615

1716
In the `ConfigureAuth` method of the `Startup.Auth.cs` file, update the `app.UseCookieAuthentication()` method to:

0 commit comments

Comments
 (0)