Powered by
Is there a configuration option to tell
# general
p
peterpathirana
04/13/2023, 3:17 PM
Is there a configuration option to tell coder control plane to refresh the oauth token (say from Gitlab) after a specified time frame?
peterpathirana
04/13/2023, 3:21 PM
With Gitlab v15 onwards, oauth tokens expire after 2 hours:
https://docs.gitlab.com/ee/integration/oauth_provider.html#access-token-expiration
So if a workspace is restarted by its configured schedule automatically, the token provided to the coder agent via
data.coder_workspace.me.owner_oidc_access_token
is expired.
Previous
Next