[GH-ISSUE #14] Configure reverse proxy to other URL #6

Open
opened 2026-03-02 03:44:34 +03:00 by kerem · 2 comments
Owner

Originally created by @jonathan-arenas on GitHub (Oct 17, 2023).
Original GitHub issue: https://github.com/dignajar/another-ldap/issues/14

Hi people!

Good job with the solution! It was exactly what I was looking for.

I have a doubt, is it possible to configure (I do not see on code) the solution for redirection to other site (once logged in)?
I want to configure reverse proxy to keep the main domain url.

Kind regards.

Originally created by @jonathan-arenas on GitHub (Oct 17, 2023). Original GitHub issue: https://github.com/dignajar/another-ldap/issues/14 Hi people! Good job with the solution! It was exactly what I was looking for. I have a doubt, is it possible to configure (I do not see on code) the solution for redirection to other site (once logged in)? I want to configure reverse proxy to keep the main domain url. Kind regards.
Author
Owner

@jonathan-arenas commented on GitHub (Oct 17, 2023):

Anyone know how it configure? Thank you.

<!-- gh-comment-id:1767040301 --> @jonathan-arenas commented on GitHub (Oct 17, 2023): Anyone know how it configure? Thank you.
Author
Owner

@fkpp commented on GitHub (Oct 23, 2023):

Hi,

not sure if I understand your demand correct. But have you had a look in your ingress configuration?
You could simply change the value after 'callback'.
I am for instance returning the full URI to be redirected to after login:

nginx.ingress.kubernetes.io/server-snippet: | error_page 401 = @login; location @login { return 302 https://another-ldap.your.domain/?protocol=$pass_access_scheme&callback=$host$request_uri; }

<!-- gh-comment-id:1775150826 --> @fkpp commented on GitHub (Oct 23, 2023): Hi, not sure if I understand your demand correct. But have you had a look in your ingress configuration? You could simply change the value after 'callback'. I am for instance returning the full URI to be redirected to after login: `nginx.ingress.kubernetes.io/server-snippet: | error_page 401 = @login; location @login { return 302 https://another-ldap.your.domain/?protocol=$pass_access_scheme&callback=$host$request_uri; }`
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/another-ldap#6
No description provided.