Skip to content

janekolszak/hydra-idp-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ID Provider integrated with Hydra

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages