Skip to content

Commit

Permalink
upgrade deps
Browse files Browse the repository at this point in the history
use 5005 port to avoid a conflict with some MacOS service
  • Loading branch information
livetocode committed Sep 21, 2024
1 parent b11f641 commit 4595c9c
Show file tree
Hide file tree
Showing 25 changed files with 2,668 additions and 4,747 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ results
*.log
tsconfig.tsbuildinfo
.scannerwork
.nx/cache
.nx
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const session = createSession({
id: 'client',
secret: 'clientSecret',
},
issuer: 'http://localhost:5000',
issuer: 'http://localhost:5005',
scopes: ['openid', 'profile'],
});
// custom auth for each http call:
Expand Down Expand Up @@ -151,7 +151,7 @@ const session = createSession({
id: 'client',
secret: 'clientSecret',
},
issuer: 'http://localhost:5000',
issuer: 'http://localhost:5005',
scopes: ['openid', 'profile'],
});
// custom auth for each http call:
Expand Down Expand Up @@ -190,7 +190,7 @@ const session = createSession({
id: 'client',
secret: 'clientSecret',
},
issuer: 'http://localhost:5000',
issuer: 'http://localhost:5005',
scopes: ['openid', 'profile'],
});
// custom auth for each http call:
Expand Down
6 changes: 3 additions & 3 deletions doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const session = createSession({
id: 'client',
secret: 'clientSecret',
},
issuer: 'http://localhost:5000',
issuer: 'http://localhost:5005',
scopes: ['openid', 'profile'],
});
// custom auth for each http call:
Expand Down Expand Up @@ -105,7 +105,7 @@ const session = createSession({
id: 'client',
secret: 'clientSecret',
},
issuer: 'http://localhost:5000',
issuer: 'http://localhost:5005',
scopes: ['openid', 'profile'],
});
// configure auth once for all http calls:
Expand All @@ -129,7 +129,7 @@ const session = createSession({
id: 'client',
secret: 'clientSecret',
},
issuer: 'http://localhost:5000',
issuer: 'http://localhost:5005',
scopes: ['openid', 'profile'],
});

Expand Down
6 changes: 3 additions & 3 deletions examples/client-axios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"dependencies": {
"@villedemontreal/auth-core": "^1.1.1",
"@villedemontreal/auth-oidc-plugin-axios": "^1.1.1",
"axios": "1.6.2"
"axios": "1.7.7"
},
"devDependencies": {
"@types/node": "18.x",
"typescript": "5.3.3"
"@types/node": "20.x",
"typescript": "5.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/client-axios/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function main(): Promise<void> {
id: 'client',
secret: 'clientSecret',
},
issuer: 'http://localhost:5000',
issuer: 'http://localhost:5005',
scopes: ['openid', 'profile'],
requestTimeout: 5000, // 5s timeout for OIDC requests (overrides global value)
};
Expand Down
4 changes: 2 additions & 2 deletions examples/client-internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@villedemontreal/auth-oidc": "^1.1.1"
},
"devDependencies": {
"@types/node": "18.x",
"typescript": "5.3.3"
"@types/node": "20.x",
"typescript": "5.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/client-internal/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function main(): Promise<void> {
id: 'client',
secret: 'clientSecret',
},
issuer: 'http://localhost:5000',
issuer: 'http://localhost:5005',
scopes: ['openid', 'profile'],
requestTimeout: 5000, // 5s timeout for OIDC requests (overrides global value)
};
Expand Down
4 changes: 2 additions & 2 deletions examples/client-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"request-promise-native": "1.0.9"
},
"devDependencies": {
"@types/node": "18.x",
"@types/node": "20.x",
"@types/request": "2.48.12",
"@types/request-promise-native": "1.0.21",
"typescript": "5.3.3"
"typescript": "5.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/client-request/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function main(): Promise<void> {
id: 'client',
secret: 'clientSecret',
},
issuer: 'http://localhost:5000',
issuer: 'http://localhost:5005',
scopes: ['openid', 'profile'],
requestTimeout: 5000, // 5s timeout for OIDC requests (overrides global value)
};
Expand Down
6 changes: 3 additions & 3 deletions examples/client-superagent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"dependencies": {
"@villedemontreal/auth-core": "^1.1.1",
"@villedemontreal/auth-oidc-plugin-superagent": "^1.1.1",
"superagent": "8.1.2"
"superagent": "10.1.0"
},
"devDependencies": {
"@types/node": "18.x",
"@types/node": "20.x",
"@types/superagent": "4.1.24",
"typescript": "5.3.3"
"typescript": "5.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/client-superagent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function main(): Promise<void> {
id: 'client',
secret: 'clientSecret',
},
issuer: 'http://localhost:5000',
issuer: 'http://localhost:5005',
scopes: ['openid', 'profile'],
requestTimeout: 5000, // 5s timeout for OIDC requests (overrides global value)
};
Expand Down
6 changes: 3 additions & 3 deletions examples/server-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"@types/express": "4.17.21",
"@villedemontreal/auth-core": "^1.1.1",
"@villedemontreal/auth-oidc": "^1.1.1",
"express": "4.18.2"
"express": "4.21.0"
},
"devDependencies": {
"@types/node": "18.x",
"typescript": "5.3.3"
"@types/node": "20.x",
"typescript": "5.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/server-api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const clientConfig: IOidcClientConfig = {
id: 'inspector',
secret: 'inspectorSecret',
},
issuer: 'http://localhost:5000',
issuer: 'http://localhost:5005',
scopes: ['openid', 'profile'],
};
const sessionConfig: IOidcSessionConfig = {
Expand Down
6 changes: 3 additions & 3 deletions examples/server-oidc/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ const configuration = {
],
};

const oidc = new Provider('http://localhost:5000', configuration);
const oidc = new Provider('http://localhost:5005', configuration);

// or just expose a server standalone, see /examples/standalone.js
const server = oidc.listen(5000, () => {
const server = oidc.listen(5005, () => {
console.log(
'oidc-provider listening on port 5000, check http://localhost:5000/.well-known/openid-configuration'
'oidc-provider listening on port 5005, check http://localhost:5005/.well-known/openid-configuration'
);
});
2 changes: 1 addition & 1 deletion examples/server-oidc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"author": "Morgan Martinet <[email protected]>",
"license": "MIT",
"dependencies": {
"oidc-provider": "8.4.2"
"oidc-provider": "8.5.1"
},
"devDependencies": {
"@types/node": "18.x"
Expand Down
Loading

0 comments on commit 4595c9c

Please sign in to comment.