Create a Simple and Secure Node Express App

Hey Dan,

I followed this tutorial and the one previous with no problems however after writing the /login /callback and /logout methods and tying in the router from the auth.js file I’m experiencing an problem.

When I click login I’m redirected to my auth0 social sign in portal as expected, but after selecting Google and confirming my details, I’m simply passed back to the portal and asked to sign in still.

I’ve noticed in the Dev Tools / Network tab, I’m getting an error 404 on the auth0.min.esm.js:8 initiator for ssodata.

Not sure if you have any insight. I manually typed the code up myself, but after experiencing the error I went back and copy pasted it to ensure it was written word for word correctly, but same error still.

1 Like