daddy/misc/containers/hydra/hydra-init.d/create-client
William Petit 713b8cc3ea Authentification OpenID Connect
Implémentation du modèle d'authentification "Authorization code with
PKCE [1]"

[1] https://auth0.com/docs/api-auth/tutorials/authorization-code-grant-pkce
2020-06-19 19:11:28 +02:00

9 lines
254 B
Bash
Executable File

#!/bin/sh
hydra clients create \
--id daddy \
-n Daddy \
-a email,email_verified,offline_access,openid \
--token-endpoint-auth-method none \
--post-logout-callbacks http://localhost:8081 \
-c http://localhost:8081/oauth2/callback