Hi))
In localhost:3000 everything is ok, but in dev env it doesn’t work.
frontend config
CLIENT_ID: ‘some-id’,
CLIENT_DOMAIN: http://dev-somedev.auth0.com/
AUDIENCE: ‘https://dev------.us.auth0.com/api/v2/’
I have just investigated your HAR file and was able to correlate it to the logs found on your tenant.
On a close inspection, I found that the request failed with the “Service not found” error because the audience parameter that was passed to the /authorize endpoint included an unintentional whitespace.
The actual audience: audience": " https://{YOUR_DOMAIN}.us.auth0.com/api/v2/",
The expected audience: audience": "https://{YOUR_DOMAIN}.us.auth0.com/api/v2/",
This typo was hard to detect, and after testing this on my side, I can reproduce the same error message and confirm that this is the source of the problem.
With that, I recommend removing the whitespace from your audience parameter.
I hope this helps!
Please reach out again if you have any additional questions.