hydra-login-consent
August 20, 2025 ยท View on GitHub
hydra-login-consent
Golang http middleware for implementing the User Login and Consent flow of Ory OAuth2 service (Hydra).
Example implementation
- Start a local instance of Hydra (OIDC OP).
./start-hydra.sh - Start a test app (OIDC RP).
./start-test-client.sh - [OPTIONAL] Edit the config file (
config.toml) for the example implementation. - Start the example implementation.
task run - Open the browser to
http://127.0.0.1:8080- Test user credentials can be found in
config.toml.
- Test user credentials can be found in