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

✅ Cleanly terminate eIAM session #1691

Closed
adintegra opened this issue Aug 21, 2024 · 3 comments · Fixed by #1727
Closed

✅ Cleanly terminate eIAM session #1691

adintegra opened this issue Aug 21, 2024 · 3 comments · Fixed by #1727
Assignees
Labels
bug Something isn't working

Comments

@adintegra
Copy link
Contributor

While logging out, the application currently makes a POST request to https://visualize.admin.ch/api/auth/signout. While this disconnects the session application-side, it doesn't initiate clean termination on the eIAM side. In order to ensure this, Visualize should call the SLO endpoint – this will terminate the eIAM session cleanly server-side.

Please use the official end_session_endpoint from the metadata:

  • TEST: feds-r.eiam.admin.ch/realms/uvek_bafu-visualise/.well-known/openid-configuration
  • INT: feds-a.eiam.admin.ch/realms/uvek_bafu-visualise/.well-known/openid-configuration
  • PROD: feds.eiam.admin.ch/realms/uvek_bafu-visualise/.well-known/openid-configuration

For PROD then for example: https://identity-eiam.eiam.admin.ch/realms/uvek_bafu-visualize/protocol/openid-connect/logout

Expected behavior
The eIAM session is cleanly terminated.

@sosiology
Copy link
Contributor

assume this cannot really be tested, so moving to the next lane (Client Review)

@bprusinowski
Copy link
Collaborator

Hi @sosiology, it could be tested by logging out from TEST, and seeing that you need to enter your credentials again when trying to log in after that (previously login occurred without a need to re-enter login and password) 👍

@sosiology
Copy link
Contributor

Thanks @bprusinowski just tried on test, and can confirm that after signing out, i needed to enter my credentials again to login. 👍

@sosiology sosiology changed the title Cleanly terminate eIAM session ✅ Cleanly terminate eIAM session Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants