After succesfull login Authentik redirects to base url without subpath and query args
Describe the bug For example:
- I go to
https://work.home/test-path/?arg=1 - It redirects me to authentik, I log in
- Authentik redirects me to
https://work.homewithout subpath and query arguments
To Reproduce Steps to reproduce the behavior:
- Setup authentik and app behind nginx (standalone) using configs from authentic docs
- Setup Forward Auth (single application) Proxy Provider for the app
- Try to login to app from subpath/with query arguments
Expected behavior After successful login authentik should redirect back to the original requested uri
Logs Don't know which logs should I add here, will add some if requested
Version and Deployment:
- authentik version: [2024.6.3]
- Deployment: [docker-compose (portainer)] All nginx configs are default configs from the docs
I'm getting a similar bug, launching the app from authentik fails the first time in a new tab, but if I close and open a new tab it launches with no issues. Watching with interest.
Hi @BeryJu - I'd love to work on this issue, can you please assign it to me? Thanks.
Sounds like the same thing I just asked in the Q&A. First click takes you to root, 2nd click works as expected.
Hopefully this is a fairly easy fix.
Happens also with 2024.6.4
Thank you @beryJu !!!