Coder git auth with gitlab

Has anyone successfully used this combination? I tried to use the devcontainer template with the coder_git_auth, but the token is always empty.

The application config is shown in the screenshot.

And this is the coder configuration:
      CODER_GITAUTH_0_ID: "primary-gitlab"
      CODER_GITAUTH_0_REGEX: "gitlab.***.de"
      CODER_GITAUTH_0_TYPE: "gitlab"
      CODER_GITAUTH_0_CLIENT_ID: "xxx"
      CODER_GITAUTH_0_CLIENT_SECRET: "yyy"
      CODER_GITAUTH_0_AUTH_URL:  "https://gitlab.***.de/oauth/authorize"
      CODER_GITAUTH_0_TOKEN_URL: "https://gitlab.***.de/oauth/token"
Screenshot_20230814_141921.png
Was this page helpful?