@auth/express
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -25,3 +25,4 @@ /** | ||
* // If app is served through a proxy, trust the proxy to allow HTTPS protocol to be detected | ||
* app.use('trust proxy') | ||
* // https://expressjs.com/en/guide/behind-proxies.html | ||
* app.set('trust proxy', true) | ||
* app.use("/auth/*", ExpressAuth({ providers: [ GitHub ] })) | ||
@@ -28,0 +29,0 @@ * ``` |
@@ -25,3 +25,4 @@ /** | ||
* // If app is served through a proxy, trust the proxy to allow HTTPS protocol to be detected | ||
* app.use('trust proxy') | ||
* // https://expressjs.com/en/guide/behind-proxies.html | ||
* app.set('trust proxy', true) | ||
* app.use("/auth/*", ExpressAuth({ providers: [ GitHub ] })) | ||
@@ -28,0 +29,0 @@ * ``` |
{ | ||
"name": "@auth/express", | ||
"description": "Authentication for Express.", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"type": "module", | ||
@@ -34,3 +34,3 @@ "files": [ | ||
"dependencies": { | ||
"@auth/core": "0.28.1" | ||
"@auth/core": "0.29.0" | ||
}, | ||
@@ -37,0 +37,0 @@ "devDependencies": { |
@@ -25,3 +25,4 @@ /** | ||
* // If app is served through a proxy, trust the proxy to allow HTTPS protocol to be detected | ||
* app.use('trust proxy') | ||
* // https://expressjs.com/en/guide/behind-proxies.html | ||
* app.set('trust proxy', true) | ||
* app.use("/auth/*", ExpressAuth({ providers: [ GitHub ] })) | ||
@@ -28,0 +29,0 @@ * ``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61980
271
981
+ Added@auth/core@0.29.0(transitive)
- Removed@auth/core@0.28.1(transitive)
Updated@auth/core@0.29.0