Okta NodeJS express login example site can't be reached


In the okta nodejs express example I want to sign-in through my organization’s SSO page. I have configured the okta admin console and added correct client_id, and client secret in the *.env file. I am using localhost:8080 instead of localhost:3000 and able to run the app by executing npm start. However when I go to chrome browser and go to http://localhost:8080 it says “This site can’t be reached”. And if I go to http://localhost:3000 I get the following message:

Are you using one of our blog posts or tutorials to create your app?

Hi Matt,

I was able to run the app to sign in using Okta by making some changes to the oidc configuration. Thanks for responding.

1 Like