Skip to content

Commit 1320418

Browse files
committed
🐞Fix: Remove secure true in login strategies
1 parent 93458fb commit 1320418

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export async function getServerWithPlugins() {
143143
password: getConfig('GOOGLE_APPLICATION_CLIENT_RANDOM_PASSWORD'),
144144
clientId: getConfig('GOOGLE_APPLICATION_CLIENT_ID'),
145145
clientSecret: getConfig('GOOGLE_APPLICATION_CLIENT_SECRET'),
146-
isSecure: isProd() ? true : false,
146+
isSecure: false,
147147
// providerParams: {
148148
// display: 'popup',
149149
// },
@@ -154,7 +154,7 @@ export async function getServerWithPlugins() {
154154
cookie: {
155155
name: 'XTU_GOOGLE',
156156
password: getConfig('COOKIE_PASSWORD'),
157-
isSecure: isProd() ? true : false,
157+
isSecure: false,
158158
path: '/',
159159
isSameSite: false,
160160
},

0 commit comments

Comments
 (0)