OSD dashboard url redirection fails for the first time in Safari browser and load the dashboard lists page instead of specific dashboard

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opesearch dashboard version - 2.6.0
Browser - Safari 16.5v
Machine - MacBook Pro Venture

Describe the issue:
I’m having a customer faced web application where they can login and click the button from the home page which will redirects to opensearch dashboard page. we are using the same domain for web application and OSD application and we have enabled single sign-on using OKTA openid

Expected: The redirection should work and land on the specific dashboard page.

Current behaviour: The redirection is landing in the dashboard list page instead of specific dashboard in Safari browser at first time only, second time it is working as expected.

URL: https://x.y.com/namespace/osd/app/dashboards?security_tenant=adminuser&product=abctest&customer=xxx#/view/7b0fd410-xxx-11ed-87aa-0bbf0a84234?_g=(filters:!((‘$state’:(store:globalState),meta:(alias:!n,disabled:!f,index:‘71a7a910-fddf-11ed-asd-ddd’,key:customer_number,negate:!f,params:(query:abc123),type:phrase),query:(match_phrase:(customer_number:abc123)))),time:(from:now%2FM,to:now))&_a=h@e5986d4

OSD - 2.6.0
Safari browser 16.5v

Relevant Logs or Screenshots:

@yogiks I see that you’ve copied the direct link to the dashboard from the browser.
I suggest using a link from a Share located in that dashboard.


I’ve just tested that link with my OSD 2.6 and OIDC Keycloak. I was redirected directly to the dashboard just after successful authentication.

The example link should be like the below.


Thank you @pablo, The shorten URL is fixing this Safari browser redirection issue. I’m implementing the shorten URL out of the dashboard URL using shorten URL API which is available in the OpenSearch in the backend.