How do I configure Okteto with Gitlab?

Is it possible to use GitLab as the authentication provider for Okteto Self-Hosted?

You can use Gitlab as your authentication provider via our OpenID configuration.

You need to create an OAuth app in your Gitlab instance with the OpenID and Profile scopes, get the secrets and the authorization endpoints, and set the auth section of your Helm configuration file as follows:

auth:
  openid:
    enabled: true
    clientId: $CLIENT_ID
    clientSecret: $CLIENT_SECRET
    endpoints:
      issuer: "https://gitlab.com"
      authorization: "https://gitlab.com/oauth/authorize"
    mapping:
      externalIDKey: email

Our complete documentation on configuring Gitlab and Okteto is available here .