Coder.comC
Coder.com7mo ago
21 replies
joelynnnnn

GitLab Upload Public Key with external-auth

I'm trying to replicate a similar module to: https://github.com/coder/modules/tree/main/github-upload-public-key, but for GitLab.
In the documentation, the scope needed for GitHub is listed as:
CODER_EXTERNAL_AUTH_0_SCOPES="repo,workflow,admin:public_key"

In my Coder deployment, if I don't specify this scope as an environment variable, is there a default? Or does it follow the scope that is matched to the OAuth application set on GitLab?
Solution
ok i had to re-authorise external authentication, and now it's working
Was this page helpful?