Can anyone help me to point out where am i going w...
# ory-selfhosting
f
Can anyone help me to point out where am i going wrong, and what does this error wants me to fix?
Copy code
{
  "id": "446dcfc5-aec8-4a3c-ac25-5bc4dde81a57",
  "error": {
    "code": 500,
    "reason": "refusing to parse login_challenge query parameter because oauth2_provider.url is invalid or unset",
    "status": "Internal Server Error",
    "message": "An internal server error occurred, please contact the system administrator"
  },
  "created_at": "2024-06-11T14:50:30.313677Z",
  "updated_at": "2024-06-11T14:50:30.313677Z"
}
l
that's an ory kratos config value that should be set to connect Kratos to Hydra
f
thanks for answering, do you have any refrence to the related documentation? I think maybe it belongs to kratos.yml config file.. but what variable/key name?
l
oauth2_provider.url
is the key (or the env var version is
OAUTH2_PROVIDER_URL
)