henalbrod / Blazor.Auth0

The library for using Auth0 in Blazor applications.
https://github.com/henalbrod/Blazor.Auth0
MIT License
110 stars 29 forks source link

Clientside [Blazor WASM] authentication not working in Preview 5 #43

Open indcoder opened 4 years ago

indcoder commented 4 years ago

Hi @henalbrod , Decided to experiment with the updated Blazor template 3.2.0-preview1.20073.1 and upgraded Blazor.Auth0 to Preview 5 but it looks like it does not even make a call to Auth0....nothing in the Auth0 dashboard logs.

image

Is there a flag where we can toggle on the logs generated by Blazor.Auth0.Clientside &/or Blazor.Auth0.Shared?

henalbrod commented 4 years ago

Hi,

Looks like you're using RBAC, would you test the following, please?

At the top of your root _imports.razor file add:

@using Microsoft.AspNetCore.Components.Authorization