Hi. I’m new to OKTA, so I’ve been following the tutorial for integrating OKTA SSO with Node.js. I cloned this github repo: GitHub - okta-samples/okta-express-sample: Node.js Express + Okta and follow the instruction in the README.md to install the dependencies.
When I open localhost:3000 and click on the login button, I got an error: Unknown authentication strategy “oidc”. I’m certain I ran npm install, so I’m confused about the error. Any help is appreciated
I just wiped my clone of the okta-express-sample repo and started from scratch, and I am able to run the application. I did have a different problem with a requested scope that I’ll fix, but I didn’t see an oidc strategy error.
Let’s gut-check that the npm install was successful. Would you mind deleting your node_modules directory and installing dependencies again? Let’s see if it was a network glitch during the installation or if we have some more detective work to do.