Azure-Samples / active-directory-dotnet-native-aspnetcore-v2

Calling a ASP.NET Core Web API from a WPF application using Azure AD v2.0
MIT License
285 stars 197 forks source link

Public client guidance out of date #216

Open Jackson-Woods opened 2 years ago

Jackson-Woods commented 2 years ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [X] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Guidance in section 1 -> "Register the client app" -> step 6 is out of date with current Azure portal

Any log messages given by the failure

N/A

Expected/desired behavior

"Public client (mobile & desktop)" is no longer a platform option under Authentication tab in Azure portal. https://localhost is no longer a suggested redirect URI when selecting closest platform match ("Mobile and desktop applications"). Tutorial guidance in step 6 should be updated to match current UI.

OS and Version?

N/A

Versions

N/A

Mention any other details that might be useful


Thanks! We'll be in touch soon.

bgavrilMS commented 9 months ago

This is an issue with the app registration. They do not provide a good experience for desktop system browser (http://localhost) nor for Windows Broker.

Correct guidance for desktop apps is - use broker where possible (mostly Windows, Mac and Linux soon), fallback to system browser where not possible. See https://aka.ms/msal-net-wam