Skip to content

Commit 2f31a81

Browse files
committed
make change to cause
1 parent 1ee6609 commit 2f31a81

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

support/entra/entra-id/app-integration/repeat-login-prompts-in-msal-ios-app.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
---
2-
title: Troubleshooting repeated login prompts in iOS MSAL implementation
2+
title: Why MSAL based iOS app keep asking for login with Microsoft Entra?
33
description: Provides guidance for troubleshooting repeated login prompts in iOS MSAL implementation
44
ms.date: 03/19/2025
55
ms.author: bachoang
66
ms.service: entra-id
77
ms.custom: sap:Microsoft Entra App Integration and Development
88
---
99

10-
# Troubleshooting repeated login prompts in iOS MSAL implementation
10+
# Troubleshooting login prompt issues in iOS with MSAL SDK
1111

1212
This article provides guidance for troubleshooting repeated login prompts in an iOS app that uses Microsoft Authentication Library (MSAL).
1313

1414
## Symptoms
1515

16-
You integrate mobile authentication in your iOS app by using the Microsoft Authentication Library (MSAL) SDK. This is done by following the [official tutorial](/azure/active-directory/develop/tutorial-v2-ios). The user is unexpectedly prompted to log in multiple times after the initial login.
16+
You [integrate Microsoft identity platform authentication](/azure/active-directory/develop/tutorial-v2-ios) in your iOS app by using the Microsoft Authentication Library (MSAL) SDK. However, after the initial login, users are unexpectedly prompted to sign in multiple times.
1717

1818
## Cause
1919

2020
This issue is typically caused by web browser configurations that do not allow cookie sharing.
2121

22-
The tutorial uses the MSAL to implement authentication. MSAL SDK library facilitates authentication by renewing tokens automatically. It also enables single sign-on (SSO) between other apps on the device and manages user accounts.
22+
The tutorial uses the MSAL to implement authentication. MSAL SDK facilitates authentication by automatically renewing tokens. It also enables single sign-on (SSO) between other apps on the device and manages user accounts.
2323

24-
For SSO to function correctly, tokens must be shared between apps. This requires a token cache or a broker application, such as Microsoft Authenticator for iOS. Interactive authentication in MSAL requires a web browser. On iOS, MSAL uses the system web browser by default for interactive authentication. This default setup supports SSO state sharing between the apps.
24+
For SSO to function correctly, tokens must be shared between apps. This requires a token cache or a broker application, such as Microsoft Authenticator for iOS. Interactive authentication in MSAL requires a web browser. On iOS, MSAL uses the system web browser by default for interactive authentication. This default setup supports SSO state sharing between apps.
2525

2626
However, if you customize the browser configuration for authentication, such as by using one of the following options, cookie sharing might not be enabled by default:
2727

0 commit comments

Comments
 (0)