Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS MSAL B2C silent authentication for mobile webview #2423

Open
onlinebear99 opened this issue Dec 12, 2024 · 2 comments
Open

iOS MSAL B2C silent authentication for mobile webview #2423

onlinebear99 opened this issue Dec 12, 2024 · 2 comments
Assignees
Labels

Comments

@onlinebear99
Copy link

The problem: When using silent authentication, the mobile webview’s cookies are not refreshed. This results in the need to restart the interactive login flow. The B2C SSO will expire in a short time, in our case 15 minutes. After the expiry, there is no way to silent authenticate the SSO for mobile web views.

The solution: Provide a mechanism so that mobile silent authentication will also refresh the webview cookies. This will allow for a seamless flow for the mobile user. Most banking apps will now allow for biometrics with Face ID or Fingerprint ID. The user expects a seamless flow of all SSO components. The silent authentication is built into the MSAL mobile SDK. We need for this silent authentication to refresh the mobile web views in addition to the B2C token.

@ameyapat
Copy link
Contributor

ameyapat commented Dec 12, 2024

Once a token is expired, it is by design to get it interactively

@onlinebear99
Copy link
Author

This flow does not work for mobile biometrics. A user signs in with face ID, even after the token is expired. They expect proper flow and not to login again. We spent 10 months working with Microsoft on this issue. The current B2C flow is not working with mobile biometrics.

Brian Adams
Mobile architect
Mr. Cooper

@hieunguyenmsft hieunguyenmsft reopened this Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants