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

Redirect URL gets prefix twice #19043

Open
enolfc opened this issue Oct 23, 2024 · 0 comments
Open

Redirect URL gets prefix twice #19043

enolfc opened this issue Oct 23, 2024 · 0 comments

Comments

@enolfc
Copy link
Contributor

enolfc commented Oct 23, 2024

When serving galaxy in a URL with a prefix (i.e. not /), the redirect URL gets the prefix twice,
e.g. when using myprefix as galaxy_url_prefix:

http://host/myprefix/myprefix/login/start?connect_external_provider=keycloak&connect_external_email=...

I believe this is because the url_for is used both here:

login_redirect_url=url_for("/"),

and then again below:

return trans.response.send_redirect(url_for(redirect_url))

should this be only used the second time?

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

No branches or pull requests

1 participant