Giancarlo BuompriscoandClaude f0baf4f348 Fix cookie sameSite attribute (#443)
* fix: set i18n cookie SameSite=lax to survive cross-domain redirects

The i18n language cookie was being reset to default after Supabase
email verification redirects because the cookie was using the default
SameSite=strict setting which doesn't survive cross-domain navigation.

Changes:
- Set cookieOptions.sameSite to 'lax' to allow cookie to persist through
  cross-domain redirects (like Supabase auth flows)
- Set secure flag dynamically based on HTTPS protocol
- Set cookie path to '/' for site-wide availability
- Set cookie expiration to 1 year
- Change detection order to prioritize cookie over htmlTag

Bumps version to 2.23.4

* fix: set theme cookie SameSite=lax to survive cross-domain redirects

Apply the same fix as the i18n cookie to the theme cookie. The theme
preference cookie was also missing SameSite=lax attribute, causing it
to potentially be lost during cross-domain authentication flows.

Changes:
- Add SameSite=lax to theme cookie
- Add Secure flag conditionally based on HTTPS protocol
- Fix typo: setCookeTheme -> setCookieTheme

* fix: correct SameSite casing and add security to sidebar cookie

- Fix SameSite value to use proper capitalization (Lax instead of lax)
  for better browser compatibility
- Add SameSite=Lax and conditional Secure flag to sidebar state cookie
- Add typeof window check for defensive programming

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-11 15:10:49 +01:00
2025-08-22 06:11:01 +07:00
2025-04-10 10:48:51 +08:00
2025-02-07 11:38:29 +08:00

Makerkit - Supabase SaaS Starter Kit - Turbo Edition

This is a Starter Kit for building SaaS applications using Supabase, Next.js, and Tailwind CSS.

A demo version of this project can be found at makerkit/next-supabase-saas-kit-turbo-demo. This version contains a tasks functionality that is not present in the original version, multiple languages, and other various modifications.

Please follow the documentation to get started.

Please remember to update the repository daily.

S
Description
MyEasyCMS v2 — German Club/VHS/Hotel SaaS (Next.js 16 + Supabase + Puck Site Builder)
Readme
76 MiB
Languages
TypeScript 88.4%
PLpgSQL 9.2%
HTML 1.2%
Roff 0.4%
CSS 0.3%
Other 0.3%