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

Logout with intranet detection (2.2.2) #3490

Closed
svagap opened this issue Feb 7, 2018 · 3 comments
Closed

Logout with intranet detection (2.2.2) #3490

svagap opened this issue Feb 7, 2018 · 3 comments
Assignees
Milestone

Comments

@svagap
Copy link

svagap commented Feb 7, 2018

We updated our application to 2.2.2.

We have configured our environment so that user are "auto detected" according to ip adresses. This works fine.

But if a "auto logged in" user uses the button "logout" it is logged out (good) but a page refresh is done -> so after the page is reloaded, the user is logged in as "intranet" again. (bad)

@pfirpfel pfirpfel added this to the 2.2 milestone Feb 7, 2018
@jwkaltz
Copy link
Member

jwkaltz commented Feb 8, 2018

I have talked to Peter about this, and this is a big problem for this use case:

  • prior to 2.2.2, when the user clicks on logout, the user is logged out and can then re-login with a specific user id. This is needed for the user to get the correct rights for certain functionalities.
  • since 2.2.2, when the user clicks on logout, an automatic refresh happens, so the user is automatically logged in as "intranet" again. So the user never gets a chance to login with his specific user id.

@pfirpfel
Copy link
Contributor

Fixed in 2.2-branch with 9360ebf

@jwkaltz
Copy link
Member

jwkaltz commented Feb 28, 2018

@svagap you can now test this with the ngeo commit mentioned by Michael (we tested it on our test server, and it worked for us). Please note that you need to provide an additional configuration for this to work. The updated instructions regarding intranet user detection are here: https://confluence.camptocamp.com/confluence/display/GeoSupport/GMF+Intranet+Users

@jwkaltz jwkaltz closed this as completed Feb 28, 2018
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

3 participants