Commit Graph

12 Commits

Author SHA1 Message Date
Christian Andolf
e08e960209 chore: add consistent type imports 2024-12-12 11:47:44 +01:00
Michael Zetterberg
4a846540c3 feat: improve handling of deployment env vars
These are now defined in Netlify UI for dedicated environments (test, stage, production):

AUTH_URL
NEXTAUTH_URL
PUBLIC_URL

Code now falls back to incoming request host. Mainly used for
deployment previews which do not have Akamai in front, meaning
we do not need the above workaround as incoming request host
matches the actual public facing host. When Akamai is in front,
we lose the public facing host in Netlify's routing layer as they
internally use `x-forwarded-for` and we can't claim it for our usage.
2024-10-15 17:03:36 +02:00
Michael Zetterberg
a33a69fb58 fix: improve auth handling and logging 2024-08-22 14:07:36 +02:00
Hrishikesh Vaipurkar
01bd7d2299 feat(SW-158): Updated to use custom cookie and optimization 2024-08-19 12:02:08 +02:00
Hrishikesh Vaipurkar
fd4c238428 feat(SW-158): Optimized code 2024-08-19 12:02:07 +02:00
Hrishikesh Vaipurkar
710730a9e9 feat(SW-158): Implemented seamless login in magic link login 2024-08-19 12:02:07 +02:00
Hrishikesh Vaipurkar
ce51402443 feat: SW-158 Optimized comments 2024-08-19 12:02:06 +02:00
Hrishikesh Vaipurkar
0b6b88e8e7 feat: SW-158 Optimized code 2024-08-19 12:02:05 +02:00
Hrishikesh Vaipurkar
d3ae62eff1 feat: SW-158 Updated new param loginKey and callback url support 2024-08-19 12:02:05 +02:00
Hrishikesh Vaipurkar
e14e3aaffa feat: SW-158 Magic Link login support 2024-08-19 12:02:05 +02:00
Hrishikesh Vaipurkar
2ce21626b9 feat: SW-158 Enabled support for authjs nonce 2024-08-19 12:02:04 +02:00
Hrishikesh Vaipurkar
e36f5cd122 feat: SW-158 Adding route and support for Magic link 2024-08-19 12:02:04 +02:00