@@ -42,11 +42,7 @@ export default async function createPlugin(
|
||||
// It is important that each real user always gets resolved to
|
||||
// the same sign-in identity. The code below will not do that.
|
||||
// It is here for demo purposes only.
|
||||
github: providers.github.create({
|
||||
signIn: {
|
||||
resolver: providers.github.resolvers.usernameMatchingUserEntityName(),
|
||||
},
|
||||
}),
|
||||
github: providers.github.create(),
|
||||
gitlab: providers.gitlab.create({
|
||||
signIn: {
|
||||
async resolver({ result: { fullProfile } }, ctx) {
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
"@material-ui/lab": "4.0.0-alpha.57",
|
||||
"graphiql": "^1.5.12",
|
||||
"graphql-ws": "5.5.5",
|
||||
"graphql-ws": "^5.4.1",
|
||||
"graphql": "^16.0.0",
|
||||
"react-use": "^17.2.4"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user