Azure AD Authentication Not Passing Over Credentials with Blazor #19125
Labels
area-blazor
Includes: Blazor, Razor Components
feature-blazor-wasm
This issue is related to and / or impacts Blazor WebAssembly
✔️ Resolution: Duplicate
Resolved as a duplicate of another issue
Status: Resolved
Describe the bug
AD Authentication Not Passing Over Credentials with Blazor.
Creating an app that uses AD Azure Authentication and start using Blazor within it. Methods start to fail out whenever you call the controllers that require the AD authentication.
To Reproduce
Create a new Blazor Server App project. Ensure AD authentication is enabled in the "Authentication" portion of the new project dialog.
Add a New Controller with the following Method.
Output From the Console
The Exception
Although, this means nothing because all it's saying is that there's an HTML response coming back instead of JSON so it errors out. The console output from above is far more telling.
The text was updated successfully, but these errors were encountered: