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