401 response from auth0 server

I’m configuring auth0 service with my nest.js application , i created machine to machine app for separate terraform app, run it, got my new apps for back and front parts, tried to register, it was successful, but authorization returns me 401 from my auth0 server which my team gave me. what the hell it can be? our teammate is performing same steps and everything is working. what are the reasons? i just copied the config details from the web-site and nothing more.

Hi @grinyovn

Welcome to the Auth0 Community!

If everything matches between your configuration and the one your colleague tested, I’m thinking that maybe there are some whitespaces that affect the outcome, or the issuer parameter is not configured correctly ( this was the issue in this topic with the same error )

It could be worth looking over our Nest.JS Code Sample in case something becomes apparent when comparing to your integration.

I’ve found the following post in the Developer Hub that links to an external resource, which could prove useful in this case.

Let us know if you manage to get it working, or if you pin-point any specific detail that might help narrow this down.

Best regards,
Gerald