Skip to content

GitLab authn provider

Warren Gifford requested to merge bl/gl-authn into master

Created by: beyang

Adds GitLab auth provider that permits authentication through GitLab (as a GitLab OAuth app).

This can be reviewed commit by commit:

  • bc5e406bd6d5c0ad9a1b069cf1635f8ef34af3b8: creates auth/oauth package, which factors out non-GitHub-specific code from githuboauth
  • e69f27cb54e28a06515556d805cd2d55f8cc446c: updates githuboauth to use auth/oauth
  • a4ac954c239495cdf46d241236b4ef1efcc0dd47: modfies extsvc/gitlab to add GetUser so we can query currently authenticated user (needed for OAuth login flow)
  • 9aadbf75fef0f8520e8f40193f8762012c645181: Adds GitLab authn schema fields
  • ce846dce95c85c53117dafabddf7c601322989fd: Adds gitlaboauth package, very similar in structure to githuboauth.

This is behind a feature flag experimentalFeatures.gitlabAuth.

This PR does not update the CHANGELOG because it is behind a feature flag

Merge request reports

Loading