supertokens-website icon indicating copy to clipboard operation
supertokens-website copied to clipboard

Allow interception for different ports on the same domain

Open rishabhpoddar opened this issue 2 years ago • 0 comments

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:*?

rishabhpoddar avatar May 12 '23 18:05 rishabhpoddar