Skip to content

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

License

Notifications You must be signed in to change notification settings

ngyewch/hydra-login-consent

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published