Hooking up login on local environment
-
wrote on 9 Sept 2024, 16:05 last edited by
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 bestg.openbeta.io
?Let me know, thanks!
-
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 bestg.openbeta.io
?Let me know, thanks!
wrote on 23 Oct 2024, 13:52 last edited byhttps://github.com/OpenBeta/open-tacos/issues/389 seems to suggest I need to email @viet about this to get some API keys