Ory Hydra — Consent & Authorization Demo
This app hosts the login, consent and logout handlers that Hydra redirects to. Use the controls below to simulate or continue an authorization request.
When Hydra initiates an auth flow it will redirect to these endpoints. Use the example URL below to start an authorization request against your Hydra instance.
Example Authorization URL
https://<your-hydra-host>/oauth2/auth?client_id=demo-client&scope=openid%20offline&response_type=code&redirect_uri=https://client/callback&state=xyz
Replace demo-client, host, and redirect URI to match your Hydra client configuration.
Quick Integration Steps
- Register a client in Hydra with login/consent/logout URLs pointing to this app.
- Start an authorization request against Hydra using the example URL.
- Complete the login and consent views in this app to allow Hydra to continue the flow.
Environment
Demo target: .NET 10, C# 14.0. Use the Account controller endpoints for testing and integration.