SyamprasadNakka opened a new issue, #23612:
URL: https://github.com/apache/superset/issues/23612
We have installed superset as multi-tenancy environments and routing
application through apache reverse proxy configuration.
Created HTTP_COOKIE, REQUEST_URI for prefix URL's and added the cookie in
server locations. Application is working as expected and able to access
multiple clients with different prefix urls.
Ex:
=======================================
RewriteEngine on
RewriteCond %{HTTP_COOKIE} _cookie=(client1|client2) [NC]
RewriteCond %{REQUEST_URI} !^/(client1|client2)/.* [NC]
RewriteCond %{REQUEST_URI} !^/(client1|client2)$ [NC]
RewriteRule "^(.+)" "/%1$1" [R,L]
<Location /client1/ >
Header add Set-Cookie "_client=client1; path=/;"
Allow from all
ProxyPass https://domain-name:8089/
ProxyPassReverse https://domain-name:8089/
</Location>
<Location /client2/ >
Header add Set-Cookie "_client=client2; path=/;"
Allow from all
ProxyPass https://domain-name:8099/
ProxyPassReverse https://domain-name:8099/
</Location>
=============================
https://domain-name/client1/login/
https://domain-name/client2/login/
However, when the both applications opened in one browser and switching to
tabs, the current client cookie content is passing to the other client tab and
the URL is getting changed.
Is there any solution to restrict the cookies not to pass other tabs and
url not changing from httpd or superset?
### Environment
(please complete the following information):
- browser type and version: Chrome/Firefox
- superset version: `0.38`
- python version: `3.7`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]