Skip to content

can not login on 2 mapstore apps on same domain #11826

@offtherailz

Description

@offtherailz

Description

Given that you have 2 different mapstores on

http://my.site/mapstore-ctx-1
http://my.site/mapstore-ctx-2

doing login on both is not possible, when you open the 2nd, the login of the first is invalidated.

This is due to

How to reproduce

  • extract in tomcat mapstore.war as mapstore-ctx-1 and mapstore-ctx-2
  • properly edit WEB-INF/classes/geostore-ovr.properties to change the path to the default database (replacing mapstore respectivly with mapstore-ctx-1 and mapstore-ctx-2
  • start tomcat
  • open localhost:8080/mapstore-ctx-1
  • login with admin
  • localhost:8080/mapstore-ctx-2
  • get back to localhost:8080/mapstore-ctx-1

Expected Result
you are still logged in

Current Result
you are logged out
logging in on the 2 application is impossible, they influcence each other.

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

Metadata

Metadata

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions