I’m using node.js/Express as back end, the oidc-middleware. The okta login page works great in localhost, but in production there is a bad redirection somewhere and I can’t fix it.
The Okta login web page doesn’t show off and I have this error “Cannot GET /oauth2/default/v1/authorize” (which means that I don’t have this route on my node.js/Express server so it’s normal)
When this error message occurs, if I replace manually the url of my website by the one of my okta domain, everything works perfectly.
Node.js/Express code :
Okta configuration :
I’m stuck on this for hours, please help me