Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow interception for different ports on the same domain #217

Closed
rishabhpoddar opened this issue May 12, 2023 · 1 comment
Closed

Allow interception for different ports on the same domain #217

rishabhpoddar opened this issue May 12, 2023 · 1 comment

Comments

@rishabhpoddar
Copy link
Contributor

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
Copy link
Contributor Author

  • Yes it does send cookies.
  • We do enable this by default, and users can override the shouldDoInterceptionBasedOnUrl to change the behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant