https://linen.dev logo
Is there a configuration option to tell
# general
p
Is there a configuration option to tell coder control plane to refresh the oauth token (say from Gitlab) after a specified time frame?
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.