custom authentication (static web app) its not working

Dhiogo Acioli 0 Reputation points
2025-08-09T10:05:51.6133333+00:00

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.
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.