You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "SyamprasadNakka (via GitHub)" <gi...@apache.org> on 2023/04/06 12:41:04 UTC

[GitHub] [superset] SyamprasadNakka opened a new issue, #23612: Settingup Prefix URL Causing Cookie Issue

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: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Settingup Prefix URL Causing Cookie Issue [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #23612:
URL: https://github.com/apache/superset/issues/23612#issuecomment-1962100471

   Closing this as stale, and also because this version of Superset is no longer supported. If anyone is still encountering this in current versions (3.x) please open a new Issue or a PR to address the problem.  You can also try `#deploying-superset` on [Superset Slack](http://bit.ly/join-superset-slack) 


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Settingup Prefix URL Causing Cookie Issue [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #23612: Settingup Prefix URL Causing Cookie Issue
URL: https://github.com/apache/superset/issues/23612


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] SyamprasadNakka commented on issue #23612: Settingup Prefix URL Causing Cookie Issue

Posted by "SyamprasadNakka (via GitHub)" <gi...@apache.org>.
SyamprasadNakka commented on issue #23612:
URL: https://github.com/apache/superset/issues/23612#issuecomment-1506386176

   Can anyone please help on the issue?
   
   Regards,
   Syam


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org