hello there! i'm hosting hydra for the first time ...
# ory-selfhosting
f
hello there! i'm hosting hydra for the first time in a k8s environment using helm, and have an sql backend. i continuously get this error, even after running
hydra migrate sql
and rotating the systems secret key -- is there something i'm missing here? when i go to the db, and query the
hydra_jwks
table, i see the row created with
sid
value set as
hydra.openid.id-token
as well.
Copy code
{
  "error": "server_error",
  "error_description": "The authorization server encountered an unexpected condition that prevented it from fulfilling the request. Could not ensure that signing keys for 'hydra.openid.id-token' exists. If you are running against a persistent SQL database this is most likely because your 'secrets.system' ('SECRETS_SYSTEM' environment variable) is not set or changed. When running with an SQL database backend you need to make sure that the secret is set and stays the same, unless when doing key rotation. This may also happen when you forget to run 'hydra migrate sql.."
}
Solved: Deleted the DB, restarted from scratch.
113 Views