Commit Graph

28 Commits

Author SHA1 Message Date
Christel Westerberg
420bf88820 fix: add booking scope for user token 2024-12-09 14:32:51 +00: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
Hrishikesh Vaipurkar
0815075ba2 feat(SW-158): Fixed MFA redirect Url 2024-08-22 16:10:17 +02:00
Michael Zetterberg
a33a69fb58 fix: improve auth handling and logging 2024-08-22 14:07:36 +02:00
Hrishikesh Vaipurkar
020a2dfcc2 feat(SW-158): Updated return url handling for seamless magiclink login 2024-08-22 11:52:17 +02:00
Simon Emanuelsson
48178cd4ea fix: profile_update scope typo fix 2024-08-22 08:42:08 +02:00
Michael Zetterberg
2361ba696d fix: improve auth handling and logging 2024-08-22 07:25:22 +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
710730a9e9 feat(SW-158): Implemented seamless login in magic link login 2024-08-19 12:02:07 +02:00
Hrishikesh Vaipurkar
0b6b88e8e7 feat: SW-158 Optimized code 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
e36f5cd122 feat: SW-158 Adding route and support for Magic link 2024-08-19 12:02:04 +02:00
Hrishikesh Vaipurkar
51df6bfd34 feat(SW-162): Used token instead of cookie 2024-08-14 10:44:14 +02:00
Hrishikesh Vaipurkar
13ded529cc feat(SW-162): Updated MFA to use basic cookie validation 2024-08-14 10:44:13 +02:00
Hrishikesh Vaipurkar
e264e4d2e2 feat: SW-162 Updated redirect to rewrite reducing unnecessary redirects for user 2024-08-14 10:44:13 +02:00
Matilda Landström
c35176dda8 refactor: remove console.log 2024-05-23 14:05:03 +02:00
Matilda Landström
e3e4d6c1c8 fix: cleanup logs 2024-05-23 14:05:03 +02:00
Matilda Landström
74ff37008d temp 2024-05-23 14:05:02 +02:00
Michael Zetterberg
0c8fed0b37 fix(auth): enable seamless login 2024-05-20 10:31:26 +02:00
Michael Zetterberg
f5108d1a8e feat: improve structure and error handling 2024-05-20 00:51:16 +02:00
Michael Zetterberg
f27e105898 fix(auth): clean up 2024-05-19 09:27:56 +02:00
Michael Zetterberg
0a862ca770 chore(debug): auth 2024-05-14 16:32:17 +02:00
Michael Zetterberg
b377317e07 chore(debug): next-auth url 2024-04-28 10:32:22 +02:00
Michael Zetterberg
8fb7ac9a2a chore(debug): next-auth url 2024-04-28 08:32:08 +02:00
Michael Zetterberg
bcbc829e2e fix(WEB-132): absolute seamless login return urls 2024-04-26 08:26:36 +02:00
Michael Zetterberg
14e93eba7c chore: lint fix 2024-04-23 14:43:17 +02:00
Michael Zetterberg
7be4766c00 feat(WEB-132): add seamless login flow 2024-04-10 12:48:44 +02:00
Michael Zetterberg
7093a0b2dd feat(WEB-132): add middlewares, support for seamless login and improve lang based routes 2024-04-10 11:23:38 +02:00