-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app works in dev; error when trying to access appstate #369
Comments
This is probably related. When I click log out this message appears and doesn't ever go away: Processing logout callback... Now I'm thinking that "DenyAnonymousAuthorizationRequirement: Requires an authenticated user" message doesn't mean anything related to these issues because I do see this in my dev tools console when running in debug, too, but everything seems to function OK. |
Backing up another step... Without a null check in RestorePizza, this error occurs in WASM. After adding a null check inside RestorePizza method, this error goes away but still have above behavior. So I can't tell if this is an appstate or authentication issue. And just to re-iterate, this only happens when running the deployment on Azure. Dev working OK. Maybe I'll try deploy to local IIS. Unhandled exception rendering component: Arg_NullReferenceException |
Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[2]
Authorization failed. These requirements were not met:
DenyAnonymousAuthorizationRequirement: Requires an authenticated user.
User can log in, but pizzas added before logging in are not restored and not re-directed to Checkout page
This is just happening from Azure, not in VS dev environment.
New to Blazor/.NET Core and not sure how to troubleshoot this.
https://blazingpizzaame.azurewebsites.net
The text was updated successfully, but these errors were encountered: