What is the proper way to get access token claims using Auth0 Vue SDK?

I am working with the latest Auth0 Vue SDK and I was wondering how I can get custom claims added to the access token? I see the function to get ID Token claims but is there a similar function for Access Token claims?

Hi @jgleason,

Apologies for the delay!

You shouldn’t be consuming the AT in your Vue app. It should be consumed by whatever audience (API) it is requested for.

With that said, you should be able to retrieve the token like this and decode it to grab the claims. Let me know if you need more info on that front.


1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.