swift-chef-97535
01/04/2023, 7:21 PMrefined-room-36507
01/04/2023, 7:22 PMswift-chef-97535
01/04/2023, 7:22 PMrefined-room-36507
01/04/2023, 7:23 PMswift-chef-97535
01/04/2023, 7:25 PMrefined-room-36507
01/04/2023, 7:25 PMrefined-room-36507
01/04/2023, 7:25 PMswift-chef-97535
01/04/2023, 7:27 PMrefined-room-36507
01/04/2023, 7:29 PMswift-chef-97535
01/04/2023, 7:29 PMswift-chef-97535
01/04/2023, 7:30 PMrefined-room-36507
01/04/2023, 7:31 PMacceptLoginRequest := *hydraclient.NewAcceptLoginRequest(subject)
swift-chef-97535
01/04/2023, 7:38 PMrefined-room-36507
01/04/2023, 7:39 PMrefined-room-36507
01/04/2023, 7:40 PMswift-chef-97535
01/04/2023, 7:42 PMrefined-room-36507
01/04/2023, 7:43 PMswift-chef-97535
01/04/2023, 7:43 PMswift-chef-97535
01/04/2023, 7:44 PMrefined-room-36507
01/04/2023, 7:47 PMswift-chef-97535
01/04/2023, 7:52 PMdocker exec -it hydra_hydra_1 hydra serve --help
And read the section on DEBUG CONTROLS
.refined-room-36507
01/04/2023, 8:28 PMdocker run --rm -it oryd/hydra:v1 serve --help
Ory Hydra exposes two ports, a public and an administrative port. The public port is responsible
for handling requests from the public internet, such as the OAuth 2.0 Authorize and Token URLs. The administrative
port handles administrative requests like creating OAuth 2.0 Clients, managing JSON Web Keys, and managing User Login
and Consent sessions.
It is recommended to run "hydra serve all". If you need granular control over CORS settings or similar, you may
want to run "hydra serve admin" and "hydra serve public" separately.
To learn more about each individual command, run:
- hydra help serve all
- hydra help serve admin
- hydra help serve public
All sub-commands share command line flags and configuration options.
## Configuration
Ory Hydra can be configured using environment variables as well as a configuration file. For more information
on configuration options, open the configuration documentation:
>> <https://www.ory.sh/hydra/docs/reference/configuration> <<
Usage:
hydra serve [command]
Available Commands:
admin Serves Administrative HTTP/2 APIs
all Serves both public and administrative HTTP/2 APIs
public Serves Public HTTP/2 APIs
Flags:
-c, --config strings Path to one or more .json, .yaml, .yml, .toml config files. Values are loaded in the order provided, meaning that the last config file overwrites values from the previous config file.
--dangerous-allow-insecure-redirect-urls strings DO NOT USE THIS IN PRODUCTION - Disable HTTPS enforcement for the provided redirect URLs
--dangerous-force-http DO NOT USE THIS IN PRODUCTION - Disables HTTP/2 over TLS (HTTPS) and serves HTTP instead
-h, --help help for serve
--sqa-opt-out Disable anonymized telemetry reports - for more information please visit <https://www.ory.sh/docs/ecosystem/sqa>
Use "hydra serve [command] --help" for more information about a command.
refined-room-36507
01/04/2023, 8:29 PMrefined-room-36507
01/04/2023, 8:30 PMswift-chef-97535
01/04/2023, 8:40 PMswift-chef-97535
01/04/2023, 8:41 PMrefined-room-36507
01/04/2023, 8:41 PMrefined-room-36507
01/04/2023, 10:34 PM