Authorization headers are not being set on requests on my dev environment, though they are being set locally. When I log the auth0 config, it looks okay (just like local):
I can login and get the auth0 user, but only on dev env the Authorization header is not being set so the requests fail. What could be wrong?
Welcome to the Auth0 Community!
It looks like the httpinterceptor is set up a bit differently in our quickstart. Can you take a look at this resource and see if it helps solve the problem?
Hi @dan.woda ,
Thank you for your answer. I’m using the http interceptor exactly like the quickstart. This http interceptor setup works when calling the auth0 api for user metadata locally and on heroku. But when calling our own api, it works only locally. On dev the Authorization header is not being set, which is the problem.
Thanks for assisting further
Can you please DM me a HAR of the request that is omitting the header?