Invoking an API from a SPA with getTokenWithPopup/getTokenSilently -- is there a better way to do this?

,

@mpekar,

http://community.auth0.com/t/why-is-my-access-token-not-a-jwt-opaque-token/31028

The opaque token is an access token intended for internal auth0 APIs, like the /userinfo endpoint. If you want to get an encoded JWT you must declare an external audience.