Showing error for jwt token

Uncaught (in promise) Error: Service not found: http://localhost:8000
at d.fromPayload (auth0-spa-js.production.esm.js:1:7071)
at r3 (auth0-spa-js.production.esm.js:1:36391)

Hi @deepamthegreat2,

Welcome to the Auth0 Community!

It looks like you are making a login request with the "audience": "http://localhost:8000", but there are no API identifiers defined with that value on your tenant.

I was also able to confirm this when checking your logs and can see that in your request you specified the "audience": "http://localhost:8000".

Given that, you will need to register your API and specify that audience identifier in your login request to get a JWT access token.

Here is a useful resource to help you on your way:

Please let us know how this goes for you.

Thanks,
Rueben

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