Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.05 KB

README.md

File metadata and controls

32 lines (26 loc) · 1.05 KB

Hydra IdP integration example

This is an example integration of a simple Identity Provide and Hydra The IdP doesn't authenticate, it grants access to every request. Normally you'd add a step for user authentication, like checking user:password credentials.

A production IdP for Hydra is being developed here

Instructions

Example uses docker-compose for orchestration, it starts two containers:

Console 1:

Start Hydra and browse it's logs. Copy the client's credentials, you'll need them in Console 3.

docker-compose up hydra

Console 2:

Start IdP and browse it's logs

docker-compose up idp

Console 3

Perform some experiments like:

# Pass the credentials from Console 1
hydra connect

# Might not work with Chrome, but works with Firefox
hydra token user --skip-tls-verify