Skip to content

[BUG] OpenID Connect login nextUrl drops URL hash #1141

@wkruse

Description

@wkruse

What is the bug?
In Opensearch Dashboards URL hash encodes the state of a visualization (state could be the filters to apply, the time range etc). Currently for OpenID Connect based authentication when user logins/re-logins the url hash is being dropped because of redirecting to the IDP.

How can one reproduce the bug?

Steps to reproduce the behavior:

  1. Setup OpenID Connect based authentication
  2. Open any dashboard
  3. Copy the URL
  4. Logout
  5. Open new private window
  6. Paste the URL
  7. You are redirected to /app/dashboards (dashboards overview)

What is the expected behavior?
The state of the dashboard/visualization must not be lost.

What is your host/environment?

  • Version 2.3.0

Do you have any additional context?
The same issue for SAML was fixed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriaged

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions