Rename ecosplay client, fix redirect URIs, set admin user real name
- Rename OIDC client ecosplay-web -> ecosplay_web in the realm import JSON. The client is used by the internal e-cosplay site for OAuth. - Replace wildcard redirect URIs with the two exact callbacks: https://www.e-cosplay.fr/oauth/keycloak and https://cos.local/oauth/keycloak. webOrigins and post-logout URIs follow the same hosts. - Add helpers to sync.sh (client_internal_id, rename_client, set_client_uris) and a reconciliation step that renames any legacy ecosplay-web -> ecosplay_web and idempotently re-applies the URIs on every run, so live installs are migrated automatically. - Set the bootstrap admin user's real first/last name (jovann Serreau) in both the env vars and the realm import JSON. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -71,8 +71,8 @@ services:
|
||||
ECOSPLAY_GROUPS: "gp_asso gp_contest gp_mail gp_mailling gp_member gp_ndd gp_sign gp_ticket super_admin_asso superadmin"
|
||||
ADMIN_USER_USERNAME: jovann@siteconseil.fr
|
||||
ADMIN_USER_PASSWORD: Shoko1997@
|
||||
ADMIN_USER_FIRSTNAME: Jovann
|
||||
ADMIN_USER_LASTNAME: SiteConseil
|
||||
ADMIN_USER_FIRSTNAME: jovann
|
||||
ADMIN_USER_LASTNAME: Serreau
|
||||
volumes:
|
||||
- ./init/sync.sh:/opt/init/sync.sh:ro
|
||||
entrypoint: ["/bin/bash", "/opt/init/sync.sh"]
|
||||
|
||||
Reference in New Issue
Block a user