Node.js Login with Express and OIDC

nikivancic

I actually did not it work until completion - just managed to run the schematics tool correctly (the extra $ in OIDC Issuer was my typo when creating the schematic command line.

I observed that .env file does not contain the callback definition, and the schematics tool does not generate that route. Since I cannot see your Okta application definition, I am not sure whether this is a bug or a feature. Either way running npm start I get the page with Login link and click on that link results with

400: Bad Request
BAD REQUEST

Your request resulted in an error.

It seems that my problems ought to be in the Okta app setup - as all of my attempts end this same way. Not sure how to get through the Authorize step with the debugger, so I will look around to find some hints