Skip to content
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

Add access to the permissions on the IdToken interface #430

Open
5 tasks done
bonniegrubbs opened this issue Nov 8, 2024 · 0 comments
Open
5 tasks done

Add access to the permissions on the IdToken interface #430

bonniegrubbs opened this issue Nov 8, 2024 · 0 comments
Labels
feature request A feature has been asked for or suggested by the community

Comments

@bonniegrubbs
Copy link

bonniegrubbs commented Nov 8, 2024

Checklist

  • I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

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.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.

Additional context

No response

@bonniegrubbs bonniegrubbs added the feature request A feature has been asked for or suggested by the community label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature has been asked for or suggested by the community
Projects
None yet
Development

No branches or pull requests

1 participant