hydra serve admin
Serves Administrative HTTP/2 APIs
This command opens one port and listens to HTTP/2 API requests. The exposed API handles administrative requests like managing OAuth 2.0 Clients, JSON Web Keys, login and consent sessions, and others.
This command is configurable using the same options available to "serve public" and "serve all".
It is generally recommended to use this command only if you require granular control over the administrative and public APIs. For example, you might want to run different TLS certificates or CORS settings on the public and administrative API.
This command does not work with the "memory" database. Both services (administrative, public) MUST use the same database connection to be able to synchronize.
ORY Hydra can be configured using environment variables as well as a configuration file. For more information on configuration options, open the configuration documentation:
Options inherited from parent commands
- hydra serve - Parent command for starting public and administrative HTTP/2 APIs