Dan6erbond / sk-auth

Authentication library for use with SvelteKit featuring built-in OAuth providers and zero restriction customization!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow setting Domain cookie property

natevaughan opened this issue · comments

Allow setting the Domain property on Set-Cookie header value:

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

My instinct is to add a domain property to AuthConfig and add it to the Set-Cookie header it if defined. I can submit a PR if that would be helpful.