hydra-passwordless/README.md

34 lines
1.3 KiB
Markdown

# hydra-passwordless
["Login & Consent App"](https://www.ory.sh/hydra/docs/login-consent-flow/) pour le serveur d'authentification OpenID Connect [Hydra](https://www.ory.sh/hydra/).
Ce middleware permet une authentification de type "[passwordless](https://auth0.com/docs/connections/passwordless)" compatible avec les applications utilisant le protocole [OpenID Connect](https://fr.wikipedia.org/wiki/OpenID_Connect) pour l'authentification de leurs utilisateurs.
## Démarrer avec les sources
```shell
# Dans un premier terminal, lancer le serveur hydra-passwordless + hydra (via docker-compose/modd)
make watch
# Dans un dernier terminal, générer le clientId et le clientSecret
# pour le serveur hydra-passwordless.
# Ces identifiants pourront être utilisés par votre application OIDC.
make create-client
```
### URLs
|URL|Description|
|---|-----------|
|http://localhost:4444/|Points d'entrée OIDC Hydra|
|http://localhost:4445/|API d'administration Hydra|
|http://localhost:3000/|Middleware Hydra hydra-passwordless (Voir ["Hydra- Login & Consent App"](https://www.ory.sh/hydra/docs/login-consent-flow/))
|http://localhost:3001/|Interface web [FakeSMTP](https://forge.cadoles.com/wpetit/fake-smtp)|
## FAQ
### Générer une version de distribution
```
make release
```