GitLab authn provider
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 fromgithuboauth
- e69f27cb54e28a06515556d805cd2d55f8cc446c: updates
githuboauth
to useauth/oauth
- a4ac954c239495cdf46d241236b4ef1efcc0dd47: modfies
extsvc/gitlab
to addGetUser
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 togithuboauth
.
This is behind a feature flag experimentalFeatures.gitlabAuth
.
This PR does not update the CHANGELOG because it is behind a feature flag