@ngriffin_uk/auth-provider-gitea
v4.0.0
Published
gitea authentication provider for @ngriffin_uk/auth-core
Downloads
70
Readme
@ngriffin_uk/auth-provider-gitea
Gitea OAuth middleware for hosted or self-hosted instances.
pnpm add @ngriffin_uk/auth-core @ngriffin_uk/auth-provider-giteaimport { createGiteaAuth } from "@ngriffin_uk/auth-provider-gitea";
const auth = baseAuth.use(
createGiteaAuth("https://git.example.com", {
clientId,
clientSecret,
redirectUri,
stateStore,
resolveIdentity,
})
);Pass the HTTPS instance base URL without OAuth endpoint paths.
