- Inscription sans redirection HelloAsso (acte volontaire séparé) - Génération automatique d'identifiant AlpID (prenom.code mnémotechnique) - Profil en tuiles : identité, compte, mot de passe, OTP, adhésion, adresse, connexions - Double authentification : activation/suppression OTP via Keycloak - Page d'accueil contextuelle (bienvenue si connecté, CTA adhésion si non adhérent) - Historique des connexions avec statistiques et graphiques Chart.js - Géocodage Nominatim + lien OpenStreetMap pour l'adresse - HelloAsso : checkout intent, validation paiement, mise à jour Dolibarr Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
41 lines
2.3 KiB
Text
41 lines
2.3 KiB
Text
# ── Clé secrète PHP sessions ──────────────────────────────────────────
|
|
SECRET_KEY=changez-moi-valeur-aleatoire-longue
|
|
|
|
# ── AlpID OIDC (client portail dans le realm alpinux) ─────────────────
|
|
ALPID_BASE=https://alpid.alpinux.org
|
|
ALPID_REALM=alpinux
|
|
ALPID_CLIENT_ID=portail
|
|
ALPID_CLIENT_SECRET=PortailAlpinux8281a984405f7c88d9b0
|
|
|
|
# ── Keycloak Admin REST API — compte de service (realm master) ────────
|
|
KC_SERVICE_CLIENT_ID=portail-service
|
|
KC_SERVICE_CLIENT_SECRET=
|
|
|
|
# ── Dolibarr REST API ──────────────────────────────────────────────────
|
|
DOLIBARR_URL=https://dolibarr.alpinux.org
|
|
DOLIBARR_API_KEY=
|
|
|
|
# ── Application ───────────────────────────────────────────────────────
|
|
APP_URL=https://portail.alpinux.org
|
|
HELLOASSO_URL=https://www.helloasso.com/associations/alpinux-le-lug-de-savoie/adhesions/adhesions-a-l-annee
|
|
|
|
# ── HelloAsso API ──────────────────────────────────────────────────────
|
|
HA_CLIENT_ID=
|
|
HA_CLIENT_SECRET=
|
|
HA_ORG_SLUG=alpinux-le-lug-de-savoie
|
|
HA_FORM_SLUG=adhesions-a-l-annee
|
|
HA_AMOUNT=1500
|
|
HA_ITEM_NAME=Adhésion Alpinux
|
|
|
|
# ── Groupes Keycloak ──────────────────────────────────────────────────
|
|
ADMIN_GROUPS=admins
|
|
ADHERENT_GROUP=adherents
|
|
|
|
# ── Fichier JSON de config des services ───────────────────────────────
|
|
# Par défaut : /var/www/clients/client1/web16/../services.json (hors web root)
|
|
SERVICES_FILE=/var/www/clients/client1/web16/private/services.json
|
|
|
|
# ── Déploiement (scripts/deploy.sh) ───────────────────────────────────
|
|
PORTAIL_HOST=alpinux.org
|
|
PORTAIL_PATH=/var/www/clients/client1/web16/web
|
|
# PORTAIL_USER=abonnelc # laisser vide pour utiliser l'alias SSH ~/.ssh/config
|