Dex: add the public wikideck client for WikiDeck Night 1
A public OIDC client (PKCE S256, no secret) for the WikiDeck testnet UI and the Capacitor apps. Its redirect URIs are the three private testnet nodes on poweredge-r350 and the dev.eom.wikideck custom scheme. The www-membership client stays gated on www_dex_client_secret, as before. Rendered with Ansible against both secret cases. Prepared by the sso agent (claude/wikideck#7) and reviewed and applied by the coordinator. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -53,7 +53,18 @@
|
||||
|
||||
# Optional website integration. Set www_dex_client_secret in Vault to enable;
|
||||
# it must equal the membership application's DEX_CLIENT_SECRET.
|
||||
dex_static_clients: "{{ [{'id': 'www-membership', 'name': 'eom.dev Membership', 'secret': www_dex_client_secret, 'redirectURIs': ['https://www.eom.dev/members/oidc/callback/']}] if (www_dex_client_secret | default('') | length > 0) else [] }}"
|
||||
dex_static_clients: "{{ ([{'id': 'www-membership', 'name': 'eom.dev Membership', 'secret': www_dex_client_secret, 'redirectURIs': ['https://www.eom.dev/members/oidc/callback/']}] if (www_dex_client_secret | default('') | length > 0) else []) + [_dex_wikideck_client] }}"
|
||||
# WikiDeck (private testnet UI + Capacitor apps). Public client: PKCE (S256), no secret.
|
||||
# The testnet node exchanges the code server-side, so Dex needs no CORS origins.
|
||||
_dex_wikideck_client:
|
||||
id: wikideck
|
||||
name: WikiDeck
|
||||
public: true
|
||||
redirectURIs:
|
||||
- http://192.168.1.32:3101/auth/callback
|
||||
- http://192.168.1.32:3102/auth/callback
|
||||
- http://192.168.1.32:3103/auth/callback
|
||||
- dev.eom.wikideck:/oauth/callback
|
||||
dex_additional_connectors: "{{ [_dex_eom_www_connector] if (www_dex_client_secret | default('') | length > 0) else [] }}"
|
||||
_dex_eom_www_connector:
|
||||
type: ldap
|
||||
|
||||
Reference in New Issue
Block a user