workos / authkit-nextjs

The WorkOS library for Next.js provides convenient helpers for authentication and session management using WorkOS & AuthKit with Next.js.
MIT License
67 stars 18 forks source link

Allow setting cookie `Domain` attribute #74

Closed cmatheson closed 3 months ago

cmatheson commented 3 months ago

This setting would be useful when you want to share the workos session between two different apps/subdomains. (NOTE: the COOKIE_PASSWORD would need to be the same on both apps).