strapi-plugin-oidc 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server/index.js +1 -1
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
package/dist/server/index.js
CHANGED
|
@@ -880,7 +880,7 @@ function oauthService({ strapi: strapi2 }) {
|
|
|
880
880
|
const sameSite = strapi2.config.get("admin.auth.cookie.sameSite", "lax");
|
|
881
881
|
const cookieOptions = {
|
|
882
882
|
httpOnly: true,
|
|
883
|
-
secure: isProduction,
|
|
883
|
+
secure: isProduction && ctx.request.secure,
|
|
884
884
|
overwrite: true,
|
|
885
885
|
domain,
|
|
886
886
|
path,
|
package/dist/server/index.mjs
CHANGED
|
@@ -874,7 +874,7 @@ function oauthService({ strapi: strapi2 }) {
|
|
|
874
874
|
const sameSite = strapi2.config.get("admin.auth.cookie.sameSite", "lax");
|
|
875
875
|
const cookieOptions = {
|
|
876
876
|
httpOnly: true,
|
|
877
|
-
secure: isProduction,
|
|
877
|
+
secure: isProduction && ctx.request.secure,
|
|
878
878
|
overwrite: true,
|
|
879
879
|
domain,
|
|
880
880
|
path,
|
package/package.json
CHANGED