nuxt-alt / auth

An alternative module to @nuxtjs/auth
https://nuxt-alt-auth.vercel.app/
MIT License
113 stars 20 forks source link

sameSite cookie option missing #36

Closed toniengelhardt closed 1 year ago

toniengelhardt commented 1 year ago

The sameSite option is missing from the cookie settings, I will send a PR to add it.

This is missing in the original documentation, but it is working in nuxt/auth, see: https://github.com/nuxt-community/auth-module/pull/466

More about the setting: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie

This is relevant when hooking the app up with Django via allauth, djangorestframework-simplejwt, and dj_rest_auth, see: https://github.com/pennersr/django-allauth/issues/3232