Hi,
I’ve integrated Auth0 on an nodejs/express application (by following this tutorial: Auth0 Node (Express) API SDK Quickstarts: Authorization, based on GitHub - auth0/express-openid-connect: An Express.js middleware to protect OpenID Connect web applications.) and it’s been working fine.
That being said, applicative logs reveals errors on several requests because oidc.isAuthenticated()
returns true for users that do not exist in Auth0, according to the userId
I’m extracting using request.oidc.user.sub.replace('auth0|', '');
(inspired by express-openid-connect/EXAMPLES.md at master · auth0/express-openid-connect · GitHub). And there is no trace indicating that these users were freshly created, nor recently deleted.
Is it possible that I’ve forgotten to secure something in the way users login?