@ngriffin_uk/auth-provider-gitlab
v4.0.0
Published
gitlab authentication provider for @ngriffin_uk/auth-core
Readme
@ngriffin_uk/auth-provider-gitlab
GitLab OAuth middleware for GitLab.com or self-hosted instances.
pnpm add @ngriffin_uk/auth-core @ngriffin_uk/auth-provider-gitlabimport { createGitLabAuth } from "@ngriffin_uk/auth-provider-gitlab";
const auth = baseAuth.use(
createGitLabAuth("https://gitlab.com", {
clientId,
clientSecret,
redirectUri,
stateStore,
resolveIdentity,
})
);Pass the HTTPS instance base URL.
