tayv / Project-Bubblegum

React UI + controlled form components
https://bubblegumui.vercel.app
2 stars 0 forks source link

BUG: Auth errors after migrating to turborepo #113

Open tayv opened 6 months ago

tayv commented 6 months ago

Problem:

Details:

Cookie “__clerk_db_jwt” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite [clerk.browser.js:2:135474](https://talented-spider-90.clerk.accounts.dev/npm/@clerk/clerk-js@4/dist/clerk.browser.js)
Cookie “__client_uat” has been rejected for invalid domain.
Screenshot 2024-04-21 at 3 09 19 PM
tayv commented 6 months ago

May be related to a Clerk Auth dependency. See: https://stackoverflow.com/questions/78130442/issue-with-third-party-cookies-blocked-in-next-js-application-using-clerk-authen