Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 950 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 950 Bytes

GitHub Workflow Status (with event) GitHub tag (with filter) Go Reference

hydra-login-consent

Golang http middleware for implementing the User Login and Consent flow of Ory OAuth2 service (Hydra).

Example implementation

  1. Start a local instance of Hydra (OIDC OP).
    ./start-hydra.sh
    
  2. Start a test app (OIDC RP).
    ./start-test-client.sh
    
  3. [OPTIONAL] Edit the config file (config.toml) for the example implementation.
  4. Start the example implementation.
    task run
    
  5. Open the browser to http://127.0.0.1:8080
    • Test user credentials can be found in config.toml.