Auto-commit 2026-04-29 16:31
This commit is contained in:
33
node_modules/next-auth/providers/slack.js
generated
vendored
Normal file
33
node_modules/next-auth/providers/slack.js
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = Slack;
|
||||
function Slack(options) {
|
||||
return {
|
||||
id: "slack",
|
||||
name: "Slack",
|
||||
type: "oauth",
|
||||
wellKnown: "https://slack.com/.well-known/openid-configuration",
|
||||
authorization: {
|
||||
params: {
|
||||
scope: "openid profile email"
|
||||
}
|
||||
},
|
||||
profile(profile) {
|
||||
return {
|
||||
id: profile.sub,
|
||||
name: profile.name,
|
||||
email: profile.email,
|
||||
image: profile.picture
|
||||
};
|
||||
},
|
||||
style: {
|
||||
logo: "/slack.svg",
|
||||
bg: "#000",
|
||||
text: "#fff"
|
||||
},
|
||||
options
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user