Skip to content

Hooking up login on local environment

Development
  • Hi Viet, etc.

    I'm looking to get a local checkout of open-tacos working on my machine. I'm trying to verify that a change I made works, but to test it I need to log into an account on staging.

    I registered an account but the backend reports ths following:

    https://next-auth.js.org/errors#oauth_callback_error access_denied (Unauthorized)

    ... which usually means the callback url is not added to Auth0; that makes sense since my local url is localhost:3000.

    Just wanted to ask for guidance before continuing, should I set up a record in /etc/hosts so that I can pretend to be stg.openbeta.io?

    Let me know, thanks!

Suggested topics