Skip to content

Commit

Permalink
fix: update the default oauth2 provider
Browse files Browse the repository at this point in the history
  • Loading branch information
jannyHou committed Jun 18, 2020
1 parent d653cfc commit 8498682
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/passport-login/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@loopback/authentication-passport": "^2.1.7",
"@loopback/boot": "^2.3.3",
"@loopback/core": "^2.8.0",
"@loopback/mock-oauth2-provider": "^0.1.1",
"@loopback/openapi-v3": "^3.4.3",
"@loopback/repository": "^2.7.0",
"@loopback/rest": "^5.1.1",
Expand Down Expand Up @@ -78,7 +79,6 @@
"@loopback/build": "^5.4.3",
"@loopback/eslint-config": "^8.0.1",
"@loopback/http-caching-proxy": "^2.1.7",
"@loopback/mock-oauth2-provider": "^0.1.1",
"@loopback/testlab": "^3.1.7",
"@types/express": "^4.17.6",
"@types/lodash": "^4.14.155",
Expand Down
2 changes: 1 addition & 1 deletion examples/passport-login/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export async function main() {
if (process.env.OAUTH_PROVIDERS_LOCATION) {
oauth2Providers = require(process.env.OAUTH_PROVIDERS_LOCATION);
} else {
oauth2Providers = require('../oauth2-providers');
oauth2Providers = require('@loopback/mock-oauth2-provider');
}
const server: ExpressServer = await startApplication(
oauth2Providers,
Expand Down

0 comments on commit 8498682

Please sign in to comment.