I have not been able to find a way to get to the permissions that are returned from the auth0 token request. If I decode the token I can see that they are attached but I can't seem to find a way to retrieve them in our Nuxt app using the auth0-vue package.
Describe the ideal solution
It would be nice if I could access the permissions via the auth0.idTokenClaims so I can save them in our Pinia store for use across the app. I've looked in the documentation and it doesn't seem like it is currently available. Let me know If I'm looking in the wrong place: https://auth0.github.io/auth0-vue/interfaces/IdToken.html
Alternatives and current workarounds
We are getting the permissions into the frontend application from an existing API call that is returning other user data.
Checklist
Describe the problem you'd like to have solved
I have not been able to find a way to get to the permissions that are returned from the auth0 token request. If I decode the token I can see that they are attached but I can't seem to find a way to retrieve them in our Nuxt app using the auth0-vue package.
Describe the ideal solution
It would be nice if I could access the permissions via the
auth0.idTokenClaims
so I can save them in our Pinia store for use across the app. I've looked in the documentation and it doesn't seem like it is currently available. Let me know If I'm looking in the wrong place: https://auth0.github.io/auth0-vue/interfaces/IdToken.htmlAlternatives and current workarounds
We are getting the permissions into the frontend application from an existing API call that is returning other user data.
Additional context
No response