Portal sub/urls (/checkuser, etc) are nor retained after authentication
Concerned version
Version: %2.0.4
Summary
- Enable checkuser plugin
- Browse to http://auth.example.com/checkuser without any cookies
- Fill out the login form (POST goes to /checkuser)
- You get redirected to the application menu instead of /checkuser
It would be nice to keep the original URL, not just for checkuser, but for any current and future portal plugin that uses portal URLs
Logs
[debug] Calling autoredirect
[debug] Building redirection to http://auth.example.com/
Possible fixes
To keep things coherent with how the issuer system works, I think the best way to solve this is to save the target URL in pdata when we receive the unauthenticated request.