Skip to content

Commit

Permalink
Replace passport-github with passport-github2
Browse files Browse the repository at this point in the history
  • Loading branch information
emwalker committed Jun 6, 2020
1 parent e8bb81a commit 7ef7497
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions k8s/cluster/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
envFrom:
- secretRef:
name: digraph-secrets
image: emwalker/digraph-api:v223
image: emwalker/digraph-api:v224
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand All @@ -65,7 +65,7 @@ spec:
envFrom:
- secretRef:
name: digraph-secrets
image: emwalker/digraph-node:v223
image: emwalker/digraph-node:v224
imagePullPolicy: Always
ports:
- containerPort: 3001
Expand Down
2 changes: 1 addition & 1 deletion k8s/release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v223
v224
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"isomorphic-fetch": "^2.2.1",
"moment": "^2.25.1",
"passport": "^0.4.0",
"passport-github": "^1.1.0",
"passport-github2": "^0.1.12",
"path": "^0.12.7",
"proxy-middleware": "~>0.15.0",
"ramda": "~0.27.0",
Expand Down
2 changes: 1 addition & 1 deletion src/server/auth/withGithub.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @flow
import passport from 'passport'
import { Strategy } from 'passport-github'
import { Strategy } from 'passport-github2'
import { Environment } from 'relay-runtime'

import createGithubSessionMutation, { type Input, type Response } from 'mutations/createGithubSessionMutation'
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9792,10 +9792,10 @@ pascalcase@^0.1.1:
resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14"
integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=

passport-github@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/passport-github/-/passport-github-1.1.0.tgz#8ce1e3fcd61ad7578eb1df595839e4aea12355d4"
integrity sha1-jOHj/NYa11eOsd9ZWDnkrqEjVdQ=
passport-github2@^0.1.12:
version "0.1.12"
resolved "https://registry.yarnpkg.com/passport-github2/-/passport-github2-0.1.12.tgz#a72ebff4fa52a35bc2c71122dcf470d1116f772c"
integrity sha512-3nPUCc7ttF/3HSP/k9sAXjz3SkGv5Nki84I05kSQPo01Jqq1NzJACgMblCK0fGcv9pKCG/KXU3AJRDGLqHLoIw==
dependencies:
passport-oauth2 "1.x.x"

Expand Down

0 comments on commit 7ef7497

Please sign in to comment.