I’ve downloaded the completed project, updated the “Authority” and “ApiIdentifier” appsettings in the API project with my Auth0 authority and API identifier then updated the “Authority” and “ClientId” appsettings in the client project with my Auth0 authority and my application’s ClientId. I can log in with the client but I get 401 when trying to access the quiz endpoint. Also, after the 401 error in the browser I get a second, content type is not supported error, i.e. “The provided ContentType is not supported; the supported types are ‘application/json’ and the structured syntax suffix ‘application/+json’”.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Unable to add parameters to login request using Blazor `<RemoteAuthenticatorView>` component | 3 | 1747 | April 13, 2023 | |
Documentation / tutorial on securing a Blazor Server App with Auth0 | 3 | 2274 | June 13, 2024 | |
Blazor WebAssembly with login UI in app | 3 | 2803 | January 30, 2023 | |
Error and error_description parameters lost in redirect to login-failed in Blazor | 4 | 392 | May 9, 2024 | |
AspNetCore.Authentication issue with login path and redirect_uri | 1 | 630 | July 2, 2024 |