initial commit. phase 1 complete

This commit is contained in:
2026-05-05 20:45:19 +02:00
parent d9c68313a0
commit 89e058ffac
20631 changed files with 3224610 additions and 43 deletions
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = GitLab;
function GitLab(options) {
return {
id: "gitlab",
name: "GitLab",
type: "oauth",
authorization: {
url: "https://gitlab.com/oauth/authorize",
params: {
scope: "read_user"
}
},
token: "https://gitlab.com/oauth/token",
userinfo: "https://gitlab.com/api/v4/user",
checks: ["pkce", "state"],
profile(profile) {
var _profile$name;
return {
id: profile.id.toString(),
name: (_profile$name = profile.name) !== null && _profile$name !== void 0 ? _profile$name : profile.username,
email: profile.email,
image: profile.avatar_url
};
},
style: {
logo: "/gitlab.svg",
bg: "#FC6D26",
text: "#fff"
},
options
};
}