In working through this article I’ve found that when I assign the RemoteAuthenticationOptions.ProviderOptions.ResponseType to “code” I get a 401 response with the message “There was an error trying to log you in: ‘’”. If I do not assign the ResponseType (defaults to token?) the login succeeds, however, after successful login attempts access my API fail at the TryGetToken method. Inspection of the AccessTokenResult shows it’s Status is RequiredRedirect. Any thoughts on what I can try here?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Unable to add parameters to login request using Blazor `<RemoteAuthenticatorView>` component | 3 | 1607 | April 13, 2023 | |
Documentation / tutorial on securing a Blazor Server App with Auth0 | 3 | 2254 | June 13, 2024 | |
Blazor WebAssembly with login UI in app | 3 | 2785 | January 30, 2023 | |
Error and error_description parameters lost in redirect to login-failed in Blazor | 4 | 333 | May 9, 2024 | |
AspNetCore.Authentication issue with login path and redirect_uri | 1 | 523 | July 2, 2024 |