mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 20:54:48 -04:00
(auth)(bug) fix apple login 🤞
This commit is contained in:
parent
d80ab22c82
commit
202dd19d3c
@ -62,7 +62,7 @@ app.use(express.urlencoded({ extended: true }));
|
||||
app.use(cookieParser());
|
||||
app.use(session({
|
||||
secret: process.env.SECRET!,
|
||||
cookie: longtimeCookieSetting,
|
||||
cookie: { ...longtimeCookieSetting, sameSite: undefined }, // somehow, sameSite=lax breaks sign-in with apple 🙄
|
||||
resave: false,
|
||||
saveUninitialized: false,
|
||||
store: new MemoryStore({
|
||||
|
@ -28,7 +28,7 @@ export const socialProviders = {
|
||||
name: 'Apple',
|
||||
redirectViaHome: true,
|
||||
avatars: true,
|
||||
broken: true,
|
||||
// broken: true,
|
||||
},
|
||||
twitter: {
|
||||
name: 'Twitter',
|
||||
|
Loading…
x
Reference in New Issue
Block a user