Repository navigation
OIDC: Komga loads inside authentication popup on first login #2328
Replies: 6 comments 3 replies
|
could be a browser issue, it has worked fine for years |
|
@spin-drift, did you end up finding out how to fix this? Facing the same issue here using VoidAuth =/ |
|
This looks like an issue in VoidAuth. |
|
I found the cause: VoidAuth is served with the header To fix it, you can unset the header with your reverse proxy. I use traefik, so for me this means adding new middleware labels on the VoidAuth container: That should do it 👍 |
|
Interesting. I came across this post while troubleshooting the same problem when using PocketID. I'll move to Caddy. |
|
The issue in VoidAuth has been fixed in the latest release, by the way. |
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce
Expected behavior
After authenticating with OIDC in the popup window, Komga should close the popup and reload the main browser tab with the authenticated session (or redirect to Komga in the main tab). The main window should be logged in. Komga should not load in the popup itself.
Actual behavior
Upon first OIDC login, after authenticating, Komga loads inside the popup window rather than closing the popup and updating the main tab. Manually closing the popup and refreshing the main tab works, but the expected behavior would be for Komga to seamlessly update the main window and close the popup automatically.
Logs
No errors in console. This appears to be a client-side issue with popup handling and post-authentication routing. Let me know if you want more diagnostic info.
Komga version
1.24.4
Operating system
Unraid 7.3
Installation method
Docker
Other details
Acknowledgements
All reactions