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

Browser Window Requires (Maybe) Reload After 401 Response #5227

Open
mxhash opened this issue Jun 19, 2024 · 0 comments
Open

Browser Window Requires (Maybe) Reload After 401 Response #5227

mxhash opened this issue Jun 19, 2024 · 0 comments

Comments

@mxhash
Copy link
Member

mxhash commented Jun 19, 2024

Describe the bug

Not sure if it is really a bug. Using web server authentication with an external auth backend other than basic HTTP authentication, where the web server can expire the session and log out the user (e.g., mod_auth_openidc). The intercepted HTTP requests do not allow the full features for re-authentication. After a full top window reload, the authentication process starts again.

To Reproduce

Provide a link to a live example, or an unambiguous set of steps to reproduce this issue. Include configuration, logs, etc. to reproduce, if relevant.

  1. Configure the web server with authentication (e.g., mod_auth_openidc)
  2. Choose an external authentication backend for primary authentication
  3. Let the web server session (not Icinga Web’s) expire
  4. Target content areas show the 401 output

Expected behavior

Let a top window reload try to reauthenticate

Screenshots

Screen Shots:

icingaweb2-401-external-auth

Screen Recordings:

icingaweb2-401-external-auth.mov

Your Environment

Include as many relevant details about the environment you experienced the problem in

  • Icinga Web 2 version and modules (System - About): 2.12.1
  • Web browser used: Arc (Chrome Based)
  • Icinga 2 version used (icinga2 --version): r2.14.2-1
  • PHP version used (php --version): 7.4.3-4ubuntu2.22
  • Server operating system and version: 20.04.6 LTS (Focal Fossa)
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

1 participant