supertokens-website
supertokens-website copied to clipboard
Allow interception for different ports on the same domain
Since cookies are shared across different ports on localhost, we should allow interception on the frontend for localhost:*. This allows users to have different backends running on localhost and use httpOnly cookies and share a session across all of them.
- Is this even true for actual domains like example.com:8080 and example.com:8081?
- Should this be auto enabled? Or users would have to set the apiDomain as
http://localhost:*?