Auto-commit 2026-04-29 16:31
This commit is contained in:
30
node_modules/next-auth/providers/mailchimp.js
generated
vendored
Normal file
30
node_modules/next-auth/providers/mailchimp.js
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = Mailchimp;
|
||||
function Mailchimp(options) {
|
||||
return {
|
||||
id: "mailchimp",
|
||||
name: "Mailchimp",
|
||||
type: "oauth",
|
||||
authorization: "https://login.mailchimp.com/oauth2/authorize",
|
||||
token: "https://login.mailchimp.com/oauth2/token",
|
||||
userinfo: "https://login.mailchimp.com/oauth2/metadata",
|
||||
profile(profile) {
|
||||
return {
|
||||
id: profile.login.login_id,
|
||||
name: profile.accountname,
|
||||
email: profile.login.email,
|
||||
image: null
|
||||
};
|
||||
},
|
||||
style: {
|
||||
logo: "/mailchimp.svg",
|
||||
bg: "#000",
|
||||
text: "#fff"
|
||||
},
|
||||
options
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user