custom authentication (static web app) its not working

Dhiogo Acioli
0
Reputation points
Error enabling custom authentication (static web app + Blazor WASM)
Two errors occur:
1 - The "/.auth/me" API doesn't return a JSON file, but rather my HTML page (with some error).
2 - When trying to log in (.auth/login/google), it finds nothing and gives the error: Sorry, there's nothing at this address.
note1: It's worth noting that this error only occurs when I try to enable custom authentication in Azure. If I leave it in simple mode, it works normally.
note2: I tested this one month ago and it was working.
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
Sign in to answer