Closed mlqn closed 2 months ago
This will be solved under: https://github.com/Altinn/altinn-studio/issues/12918 I've tried the proposed solution for version 1.21.xx and it didn't work. I can try it for 1.22.xx to see if it will work.
@mlqn It doesn't work in 1.22.0 either. I've tried login to URL http://studio.localhost/repos/user/login?redirect_to=/repos/fake-url and the redirect we're getting from gitea is "/repos".
This will be solved under: https://github.com/Altinn/altinn-studio/issues/12918
Description
Our current version of Gitea is v1.21.10. We can't update it to v1.21.11 as it introduces a bug that causes the user to not be redirected to the dashboard after logging in, as the
redirect_to
parameter is ignored.This seems to be fixed in the following version v1.22.xx, but this new version introduces a new restriction that prevents redirecting the user outside of Gitea. A solution that could work would be to redirect the user to a "fake" URL within Gitea and use this URL in Nginx to redirect the user to the dashboard.
Additional Information
No response
Tasks
No response
Acceptance Criterias
No response