Skip to content

Commit f6aece0

Browse files
committed
Adding a toubleshooting section to IODC README.md
1 parent 78d3ab1 commit f6aece0

File tree

1 file changed

+8
-0
lines changed
  • 1. WebApp signs-in users with Microsoft Identity (OIDC)/1.1. in my org

1 file changed

+8
-0
lines changed

1. WebApp signs-in users with Microsoft Identity (OIDC)/1.1. in my org/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,14 @@ cd "1. WebApp signs-in users with Microsoft Identity (OIDC)\1.1. in my org"
140140
141141
2. Open your web browser and make a request to the app. Accept the IIS Express SSL certificate if needed. The app immediately attempts to authenticate you via the Azure AD v2 endpoint. Sign in with your personal account or with work or school account.
142142
143+
## Toubleshooting
144+
145+
### known issue on iOS 12
146+
147+
ASP.NET core applications create session cookies that represent the identity of the caller. Some Safari users using iOS 12 had issues which are described in [ASP.NET Core #4467](https://github.com/aspnet/AspNetCore/issues/4647) and the Web kit bugs database [Bug 188165 - iOS 12 Safari breaks ASP.NET Core 2.1 OIDC authentication](https://bugs.webkit.org/show_bug.cgi?id=188165).
148+
149+
If your web site needs to be accessed from users using iOS 12, you probably want to disable the SameSite protection, but also ensure that state changes are protected with CSRF anti-forgery mecanism. See the how to fix section of [Microsoft Security Advisory: iOS12 breaks social, WSFed and OIDC logins #4647](https://github.com/aspnet/AspNetCore/issues/4647)
150+
143151
## About The code
144152
145153
This sample shows how to use the OpenID Connect ASP.NET Core middleware to sign in users from a single Azure AD tenant. The middleware is initialized in the `Startup.cs` file by passing it the Client ID of the app, and the URL of the Azure AD tenant where the app is registered. These values are read from the `appsettings.json` file. The middleware takes care of:

0 commit comments

Comments
 (0)