Unable to authenticate with auth0

I’ve tried to authenticate an app with Auth0 but it doesn’t work. I get an access denied url after the universal login page redirects the user. Here’s the url I get

http://localhost:3000/?error=access_denied&error_description=unauthorized&state=aVNrZEpwYXZYUnh3TzMxfnQ3aFFSc1pFZXQ0dVlBcDZEcUxlVEZMa01pSg%3D%3D

Hey @vicradon, Welcome to the Auth0 community!
error=access_denied&error_description=unauthorized
Error most likely indicates an Authorization error , which can spawn due to variety of reasons. Can also be due to some condition in the Rules pipe line preventing the user from access.
It will be worth checking the rules and other conditions based on the type of connection you are using.

Also if you can elaborate more on the environment of your setup would be great!

Regards,
Sidharth Chaudhary

Hello @sidharth.chaudhary
I’m using CRA

@vicradon, I am not familiar about CRA, can you please elaborate more on this?
If you can DM me a HAR file for your login transaction would help.
Method to get HAR File : https://auth0.com/docs/troubleshoot/har

So, the problem was with a custom rule I added. You can close the conversation now. Thank you for your time.

1 Like

Great! Thanks for letting me know!