Closed jeff-zimmerman closed 1 year ago
I would prefer to make set_cookie use SESSION_COOKIE_DOMAIN
if it exists. This way we don't need to support yet another configuration parameter.
There are two similar options in vanilla Django CSRF_COOKIE_DOMAIN and SESSION_COOKIE_DOMAIN. Dj rest auth has configs for both card and sessions, so I just want to double check to see which you'd prefer.
On Mon, Jul 3, 2023, 2:34 PM Michael @.***> wrote:
I would prefer to make set_cookie use SESSION_COOKIE_DOMAIN if it exists. This way we don't need to support yet another configuration parameter.
— Reply to this email directly, view it on GitHub https://github.com/iMerica/dj-rest-auth/pull/526#issuecomment-1618987601, or unsubscribe https://github.com/notifications/unsubscribe-auth/APXZZKXQJNAWIGK7AR5VKQDXOMGD5ANCNFSM6AAAAAAZZ7GP54 . You are receiving this because you authored the thread.Message ID: @.***>
SimpleJWT and vanilla Django both have this option, so I thought it would be a good thing to add.