change auth0 passport to the correct passport-auth0 package and allow passing the audience into the auth for api

Signed-off-by: Joe Patterson <jrwpatterson@gmail.com>
This commit is contained in:
Joe Patterson
2022-09-08 13:52:34 +10:00
parent 435a37bfa5
commit 64fe8e1213
5 changed files with 69 additions and 18 deletions
+2
View File
@@ -62,6 +62,7 @@
"node-fetch": "^2.6.7",
"openid-client": "^5.1.3",
"passport": "^0.6.0",
"passport-auth0": "^1.4.3",
"passport-bitbucket-oauth2": "^0.1.2",
"passport-github2": "^0.1.12",
"passport-gitlab2": "^5.0.0",
@@ -81,6 +82,7 @@
"@types/cookie-parser": "^1.4.2",
"@types/express-session": "^1.17.2",
"@types/jwt-decode": "^3.1.0",
"@types/passport-auth0": "^1.0.5",
"@types/passport-github2": "^1.2.4",
"@types/passport-google-oauth20": "^2.0.3",
"@types/passport-microsoft": "^0.0.0",