Skip to content
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

Open
doug-w opened this issue Oct 19, 2022 · 6 comments
Open

api/v2/auth does not redirect to X-Forwarded-Uri #1887

doug-w opened this issue Oct 19, 2022 · 6 comments

Comments

@doug-w
Copy link
Contributor

doug-w commented Oct 19, 2022

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.


@github-actions
Copy link

github-actions bot commented Nov 4, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@doug-w
Copy link
Contributor Author

doug-w commented Nov 4, 2022

Still occurring

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@doug-w
Copy link
Contributor Author

doug-w commented Nov 23, 2022

Still occurring

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@doug-w
Copy link
Contributor Author

doug-w commented Dec 10, 2022

Still occurring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants