Hi, so I’ve been trying to create a login system using Auth0.
This is the repo I’ve used:
I have the url and cliend id inside .env, it redirects me to login, then i get this
On Auth0 settings, I’ve added http://localhost:3000 to:
Allowed Callbacks Url, Allowed Logout Url and Allowed web origins.
Also, I’ve updated the main.jsx file to:
const root = document.getElementById('root');
ReactDOM.createRoot(root).render(
<Auth0Provider
domain={domain}
clientId={clientId}
redirectUri={window.location.origin}>
<App />
</Auth0Provider>
);
Any ideas? Thank you!