Hi there !
I’m trying to make a role based navigation, I followed all the getting started, and got a bit further too with setting rule but I really don’t find anything about how achieve my purpose.
I’m working with Angular 12, following the getting started, I have an authentication working and I can get the users profile where the role is present.
{
"http://demozero.net/roles": [
"Admin"
],
"nickname": "admin",
"name": "admin@homegardeners.be",
"picture": "https://s.gravatar.com/avatar/296f11d5afb79b5b19205edfa8d817ed?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fad.png",
"updated_at": "2021-08-18T18:49:28.033Z",
"email": "admin@homegardeners.be",
"email_verified": true,
"sub": "auth0|60fef57f0dde01006890f396"
}
How do I get the role ?