Closed ekremkenter closed 2 months ago
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer
With latest version of
@supabase/ssr
package we need to change how we set cookies. This commit updates the cookie handling in thesupabase
middleware and server files. It replaces theget
,set
, andremove
methods withgetAll
, andsetAll
methods respectively.Supabase docs: https://supabase.com/docs/guides/auth/server-side/creating-a-client?environment=middleware&queryGroups=environment#creating-a-client