hey I'm trying to do OIDC login with Auth0 - I'm g...
# ory-selfhosting
d
hey I'm trying to do OIDC login with Auth0 - I'm getting the following in Kratos errors logged when it tries to hit the Auth0 userinfo endpoint:
Copy code
{
  "audience": "application",
  "level": "info",
  "msg": "[DEBUG] GET <https://dev-as64-y39.us.auth0.com/userinfo>",
  "service_name": "Ory Kratos",
  "service_version": "v26.2.0",
  "time": "2026-08-28T03:53:53.998753441Z"
}
Then the following error:
Copy code
"error": {
    "debug": "",
    "message": "Upstream error",
    "reason": "provider did not return a subject",
    "status": "Bad Gateway",
    "status_code": 502
  },
Other oidc providers, like Google, are working fine. Anyone know what's going on?
e
This most likely has to do with you mapping or with the
sub
value that Auth0 is configured to send back. I would attempt to view the JWT that Auth0 sends out and inspect it to see the
sub
format and if it matches what you expect.