Give hydra a database backend
Newer versions of hydra do not by default support the "memory" DSN. Consulting with the ory people, they advice to use a database backend anyway to seemlessly survive upgrades.
This issue is about migrating to database backend
Problems with memory backend:
- A hydra crash, update or restart will cancel all current active sessions, consents
- A hydra crash, update or restart will required to re-apply all client config (solved by hydra measter)
Problems with db backend:
- Extra dependency, then again, this once already exists for kratos
Edited by Mart van Santen