Xamarin Forms UWP freezes when using B2C + MSA
See original GitHub issueWhich version of MSAL.NET are you using? Version: 4.48.1
Platform Xamarin Forms UWP
What authentication flow has the issue?
- Desktop / Mobile
- Interactive
- Integrated Windows Authentication
- Username Password
- Device code flow (browserless)
Expected behavior Login dialog appears.
Actual behavior Exception thrown.
Hi,
I have followed the sample app configuration and code from here,
This app sample works for Local, MS and Google Accounts. Unfortunately most packages in this sample are very old. I have created a new sample project, that is attached, with the latest Nuget Packages. I am faced with the error:
Microsoft.Identity.Client.MsalClientException: Only loopback redirect uri is supported, but msale5737214-6372-472c-a85a-68e8fbe6cf3c://auth/ was found.
Attached is the full verbose stack trace, logs and the sample app. Can you please help me solve this problem?
To view my B2C configuration please look here. This issue contains images of my B2C setup.
Thanks
Mark and Zac.
Issue Analytics
- State:
- Created 10 months ago
- Comments:8 (5 by maintainers)
Top GitHub Comments
Thanks very much for your insights, as it makes design decisions easier. Is it possible to only use Local login for UWP only and Local, Google and MS for Android and iOS?
This way I can side step the problem for now or use Local login only for all three platforms.
I really appreciate your help, the joys of software engineering 😃
Won’t follow up on UWP issues, please use WinUI or raise the issue via Azure Portal for B2C