Skip to content

Commit bd3c392

Browse files
authored
minor change
1 parent ee3d2c4 commit bd3c392

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

support/entra/entra-id/app-integration/asp-dot-net-application-infinite-sign-in-loop.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Infinite Sign-in Loop Between ASP.NET Application and Microsoft Entra ID
33
description: Helps you resolve an infinite sign-in loop issue between an ASP.NET application and with Microsoft Entra ID when performing sign in.
44
ms.date: 04/25/2025
5-
ms.author: bachoang
5+
ms.author: bachoang, v-weizhu
66
ms.service: entra-id
77
ms.custom: sap:Developing or Registering apps with Microsoft identity platform
88
---
@@ -43,6 +43,7 @@ If you must continue to use ASP.NET, perform the following actions:
4343
CookieManager = new Microsoft.Owin.Host.SystemWeb.SystemWebChunkingCookieManager()
4444
});
4545
```
46+
or
4647

4748
```csharp
4849
app.UseCookieAuthentication(new CookieAuthenticationOptions()
@@ -77,7 +78,7 @@ For example, suppose you have the following environment:
7778
// PostLogoutRedirectUri is the page that users will be redirected to after sign-out. In this case, it is using the home page
7879
PostLogoutRedirectUri = redirectUri,
7980
Scope = OpenIdConnectScope.OpenIdProfile,
80-
// ResponseType is set to request the id\_token - which contains basic information about the signed-in user
81+
// ResponseType is set to request the id_token - which contains basic information about the signed-in user
8182
ResponseType = OpenIdConnectResponseType.IdToken,
8283
// ValidateIssuer set to false to allow personal and work accounts from any organization to sign in to your application
8384
// To only allow users from a single organizations, set ValidateIssuer to true and 'tenant' setting in web.config to the tenant name
@@ -95,7 +96,7 @@ For example, suppose you have the following environment:
9596
}
9697
```
9798

98-
You use the following code to trigger the sign-in flow:
99+
- You use the following code to trigger the sign-in flow:
99100

100101
```csharp
101102
public void SignIn()
@@ -139,6 +140,6 @@ app.UseOpenIdConnectAuthentication(
139140

140141
## References
141142

142-
[Infinite redirects with ASP.NET OWIN and OpenID Connect](https://varnerin.info/infinite-redirects-with-aspnet-owin-and-openid-connect/)
143+
- [Infinite redirects with ASP.NET OWIN and OpenID Connect](https://varnerin.info/infinite-redirects-with-aspnet-owin-and-openid-connect/)
143144
144145
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]

0 commit comments

Comments
 (0)