Auto-commit 2026-04-29 16:31
This commit is contained in:
25
node_modules/next-auth/providers/netlify.js
generated
vendored
Normal file
25
node_modules/next-auth/providers/netlify.js
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = Netlify;
|
||||
function Netlify(options) {
|
||||
return {
|
||||
id: "netlify",
|
||||
name: "Netlify",
|
||||
type: "oauth",
|
||||
authorization: "https://app.netlify.com/authorize",
|
||||
token: "https://api.netlify.com/oauth/token",
|
||||
userinfo: "https://api.netlify.com/api/v1/user",
|
||||
profile(profile) {
|
||||
return {
|
||||
id: profile.id,
|
||||
name: profile.full_name,
|
||||
email: profile.email,
|
||||
image: profile.avatar_url
|
||||
};
|
||||
},
|
||||
options
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user