hydra passwordless

This commit is contained in:
2022-08-26 15:13:22 +02:00
parent 7962e2ca9a
commit 21fb28a6f0
8 changed files with 262 additions and 63 deletions

View File

@ -0,0 +1,5 @@
FROM cadoles/hydra-dispatcher-v1:v0.0.0-111-g2e60bdb
COPY hydra/providers.yml /var/www/config/hydra/providers.yml
COPY theme.css /var/www/public/build/theme

View File

@ -0,0 +1,23 @@
hydra:
apps:
- id: passwordless
title:
fr: addresse courriel
en: email address
description:
fr: Authentification via adresse courriel
en: Authentication by email address
icon_url: https://upload.wikimedia.org/wikipedia/commons/4/48/You%27ve_got_mail.png
login_url: http://127.0.0.1:7082/login
consent_url: http://127.0.0.1:7082/consent
logout_url: http://127.0.0.1:7082/logout
attributes_rewrite_rules:
username:
- consent.session.id_token.email
email:
- consent.session.id_token.email
email_verified:
- consent.session.id_token.email_verified

View File

@ -0,0 +1,8 @@
body > section {
background-color: rgba(214, 170, 214, 0.575);
}
input[type="radio"]:checked ~ .app-item {
--tw-shadow: 0 10px 15px -3px rgb(22 78 99 / 0.3), 0 4px 6px -4px rgb(22 78 99 / 0.3);
background-color: rgba(251, 255, 21, 0.507);
}