URL path and query string gets lost after SSO redirect

Hello, I ran into following issue:

  1. A user accesses, for example: https://mycompany.com/data?id=1234
  2. This user is not logged in pritunl-zero then gets redirected to the login page: https://mycompany.com/?redirect_url=%2Fdata%3Fid%3D1234
  1. Our pritunl-zero setup has OKTA as the only one authentication provider, and we have enabled fast_login as well as force_fast_service_login. We can see that user is redirected to the URL: https://mycompany.com/auth/request?id=<okta provider ID>. In this step the query string and URL path is lost.
  2. After user is authenicated, user is redirected to URL: https://mycompany.com

By disabling fast_login, the issue is gone.

However I do want to have fast_login enabled. Checked the code, I believe this can be fixed by passing the originl URL info to the function GetFastServicePath()

Sorry have to split the question into 3 parts as new user is disallowed to post more than 2 links.

This has been fixed in the repository and will be included in the next release.

1 Like

Do we have an ETA of next release?

This should be available later this week.

@zach Thanks for fixing the issue.

The new version is available, do you have plan to update docker image?

The latest Docker Pritunl Zero image is now available.

1 Like