diff --git a/packages/backend/src/plugins/auth.ts b/packages/backend/src/plugins/auth.ts index cd0c42afe5..984ddd9651 100644 --- a/packages/backend/src/plugins/auth.ts +++ b/packages/backend/src/plugins/auth.ts @@ -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) { diff --git a/plugins/graphiql/package.json b/plugins/graphiql/package.json index 67855607d6..99903cb63c 100644 --- a/plugins/graphiql/package.json +++ b/plugins/graphiql/package.json @@ -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" },