passport-hydra

1.0.2 • Public • Published

passport-hydra

passport strategy for hydra.

Setup hydra

Refer to https://www.ory.sh/docs/oryos.9/hydra/5min-tutorial.

The only difference when the creating application script you should add --token-endpoint-auth-method client_secret_post.

docker-compose -f quickstart.yml exec hydra \
    hydra clients create \
    --endpoint http://127.0.0.1:4445 \
    --id auth-code-client6 \
    --secret secret \
    --grant-types authorization_code,refresh_token \
    --response-types code,id_token \
    --scope openid,offline \
    --callbacks http://127.0.0.1:3001/login/callback \
    --token-endpoint-auth-method client_secret_post

Package Sidebar

Install

npm i passport-hydra

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

21.5 kB

Total Files

16

Last publish

Collaborators

  • ufo22940268