-
Notifications
You must be signed in to change notification settings - Fork 163
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
[BUG] Shortlinks to other Tenants do not work #1203
Comments
Looks like #123 may be of interest here |
This has been resolved on elastic search version 2.3.0. |
I can confirm that this bug still exists in OpenSearch 2.6.0 |
Thanks @jgough I can retest on 2.6.0 and implement the fix. |
To explain how this functionality is currently working:
Therefore the tenant from the URL is being over wrote with the local storage value |
If we just stopped the re-write of the tenant from local storage, it solves the issue but, it seems like we are still using localStorage to keep track of the last used tenant. Even without a tenant query parameter we see the following flow of operation:
So to propose other solutions:
Do you have any guidance on what solution you may prefer to resolve this issue? Thanks. |
This bug still exists in OpenSearch 2.8.0 |
This bug still exists in OpenSearch 2.16.0 |
What is the bug?
When visiting a shortlink URL, the tenant specified in the URL seems to be ignored and it tries to load the shortlink in the current tenant.
This seems related to #1012
How can one reproduce the bug?
Steps to reproduce the behavior:
?security_tenant=first_tenant_name
What is the expected behavior?
The URL should work and link to the page in the correct tenant as specified in the URL
What is your host/environment?
The text was updated successfully, but these errors were encountered: