Commit a34562f
Logout fixes: correct client_id + drop pointless ?federated (#42)
* Logout: use deployed AUTH0_CLIENT_ID/DOMAIN, not VITE_ vars
The deployment configmap/secret expose AUTH0_CLIENT_ID and AUTH0_DOMAIN, not
VITE_AUTH0_* (those are local-dev only). Reading the VITE_ vars would yield
undefined at runtime, breaking the logout URL. Use the non-VITE vars (the same
app the server authenticates with, so logout's client_id matches the session),
with VITE_ as a local-dev fallback.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Drop ?federated from logout: CILogon has no end_session_endpoint
CILogon's OIDC discovery exposes no end_session_endpoint, so Auth0 federated
logout cannot end its session — ?federated only produced federated_logout_failed
log noise. Plain Auth0 logout still clears the app + Auth0 session; the
CILogon/institution SSO session cannot be cleared programmatically.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 4e760ea commit a34562f
1 file changed
Lines changed: 23 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
34 | 38 | | |
35 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
36 | 44 | | |
37 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
38 | 50 | | |
39 | 51 | | |
40 | 52 | | |
| |||
179 | 191 | | |
180 | 192 | | |
181 | 193 | | |
182 | | - | |
183 | | - | |
184 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
185 | 200 | | |
186 | 201 | | |
187 | 202 | | |
188 | 203 | | |
189 | 204 | | |
190 | | - | |
| 205 | + | |
191 | 206 | | |
192 | 207 | | |
193 | 208 | | |
| |||
0 commit comments