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

[BUG] SSO login redirect to home page instead of nexturl #1528

Closed
mourya-satyam-888 opened this issue Jul 28, 2023 · 4 comments
Closed

[BUG] SSO login redirect to home page instead of nexturl #1528

mourya-satyam-888 opened this issue Jul 28, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@mourya-satyam-888
Copy link

Describe the bug

If I do native login it redirect me to the nexturl the dashboard or something whose link I have opened but while login using Azure SSO it redirect me to home page irrespective of what I had opened

To Reproduce
Steps to reproduce the behavior:

  1. login and open discover section
  2. Copy url and logout
  3. open the copied url
  4. It would ask to login and do login with sso

Expected behavior
It should have opened discover section but instead it redirect to home page

OpenSearch Version
2.7.0

Dashboards Version
2.7.0

@mourya-satyam-888 mourya-satyam-888 added bug Something isn't working untriaged labels Jul 28, 2023
@kavilla
Copy link
Member

kavilla commented Jul 29, 2023

Thanks for opening!

@opensearch-project/admin, can we re-route this to security dashboards plugin?

@gaiksaya gaiksaya transferred this issue from opensearch-project/OpenSearch-Dashboards Jul 29, 2023
@stephen-crawford
Copy link
Contributor

[Triage] Hi @mourya-satyam-888, thank you for filing this issue. Could you please provide a trace of your HTTP traffic? Thank you.

@mourya-satyam-888
Copy link
Author

mourya-satyam-888 commented Aug 1, 2023

@scrawfor99 if I logged out and try to hit this endpoint(removed my domain for policy purpose) : https://mydomain/app/login?nextUrl=%2Fapp%2Falerting
and do login with sso then redirected to azure ad idp and if authentication successful it redirect me to home page instead of alerting but in native login it is as expected.

not sure is it intended if so then its feature request rather than a bug

@cwperks
Copy link
Member

cwperks commented Aug 7, 2023

@mourya-satyam-888 Thank you for filing this issue. This request may be a better fit for the OpenSearch forums where there may be other users that have faced a similar issue.

I am marking this as closed, but would also be able to provide a little more info about Azure SSO and what type of Identity Provider this is? (OIDC, SAML or LDAP) and an example configuration of the security plugin's config.yml authc section with any sensitive data omitted?

@cwperks cwperks closed this as completed Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants