-
-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
api/v2/auth does not redirect to X-Forwarded-Uri #1887
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Still occurring |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Still occurring |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Still occurring |
Organizr Version: docker hub label organizr/organizr:latest
Branch: organizr/organizr:latest
WebServer: Traefik
Operating System: Ubuntu
Problem Description:
If you use /api/v2/auth for login purposes, you will be redirected to the Organizr home page after logging in rather than the URI in the original header request stored in X-Forwarded-Uri.
Reproduction Steps:
Configure an auth redirection in a reverse proxy, I use traefik:
traefik.http.middlewares.auth-admin.forwardauth.address: "https://organizr.${DOMAIN}/api/v2/auth?group=1"
Visit the site, and see the organizr login screen.
Login, and be redirected to the main organizr landing page rather than the URL originally entered.
The text was updated successfully, but these errors were encountered: