Unable to launch okta sign-in page

After starting the app and launching localhost:8080 the page gives me the option to click on Login. After clicking on Login button it takes me to 404 page not found and provides a link to go to home page. I don’t know why.

This is a 400 not a 404. In my experience, it’s usually because you have an invalid client ID configured.

1 Like

Thank you Matt! It indeed fixed it. Apparently I missed updating the client ID in the env file. Quick question though. Why do we need this uri as a sign-in uri: http://localhost:8080/authorization-code/callback

Why do we need this authorization-code/callback ? Can’t we have some sort of http://localhost:8080/login uri instead?

You can specify any callback URI you like. You just have to make sure your app has a route to handle it.