Bearer token - Invalid - with Audience

I have a SPA setup and I have declared and audience and created a custom API in Auth0 and in my React front end im calling the getAccessTokenSilently and getting an invalid token. I have looked on all previous topics on this matter but none of my changes have done anything. Note: I have the same token being generated as the one from before making any changes to auth0 - including setting the audience. Can anyone please help?

Hey there @marcb welcome to the community!

Just to confirm, you are indeed getting a token back from getAccessTokenSilently, it’s just invalid when validating at your API?

What changes are you making prior to attempting to get an access token silently? The more detailed you can be regarding steps to reproduce the better!

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