Dandi
04/20/2023, 2:46 PMQuaresma
04/20/2023, 6:07 PMAtif
04/21/2023, 5:25 AMpeterpathirana
04/21/2023, 5:00 PMdata.coder_workspace.me.owner_oidc_access_token
We use the OIDC access token to interact w/ Gitlab API on first-time workspace creation and startup.
- So the workspace restarts (say by schedule) isn't affecting us.
- But since Gitlab OIDC tokens expire after 2hours (since Gitlab v15), it is possible that the a user logged in to Coder more than 2 hours ago and then creates a workspace after the Gitlab OIDC access token has expired. Then our attempts to use that token from agent-startup script fails.
Is it possible to do one of the following?
- Make the Coder auth expiration time window (CLI and UI) configurable?
- Then the admins can set it to their desired value (in our case the same as OIDC auth expiration length)matching
- If the OIDC auth has expired, trigger a re-login?peterpathirana
04/21/2023, 5:00 PMKozmikNano
04/21/2023, 5:13 PMKozmikNano
04/21/2023, 5:13 PMKozmikNano
04/21/2023, 5:15 PMKozmikNano
04/21/2023, 5:16 PMcolin (rust enthusiast)
04/21/2023, 9:06 PMDean
04/21/2023, 9:19 PMDean
04/21/2023, 9:19 PMKozmikNano
04/21/2023, 9:20 PMjonaskh
04/24/2023, 10:35 AMjonaskh
04/24/2023, 10:35 AMjonaskh
04/24/2023, 10:36 AMjonaskh
04/24/2023, 10:36 AMjonaskh
04/24/2023, 10:37 AMjonaskh
04/24/2023, 10:39 AMPhorcys
04/24/2023, 10:39 AMjonaskh
04/24/2023, 10:39 AMjonaskh
04/24/2023, 10:39 AMPhorcys
04/24/2023, 10:40 AMjonaskh
04/24/2023, 10:40 AMPhorcys
04/24/2023, 10:42 AMjonaskh
04/24/2023, 10:43 AMPhorcys
04/24/2023, 10:46 AMPhorcys
04/24/2023, 10:46 AMPhorcys
04/24/2023, 10:47 AM