Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • K kibana3-oidc
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LaaSLaaS
  • kibana3-oidc
  • Merge requests
  • !1

Redirect to elasticsearch URL when elasticsearch fails

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jørn Åne de Jong requested to merge 2fa-uglyfix into 3.0 Apr 29, 2017
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

This commit will redirect the user to the _els URL in Kibana 3 when the elasticsearch answer is not as expected. This causes the user to be forced to use 2FA, but he will be redirected to an _els endpoint cointaining nothing but JSON data.

This is not an acceptable final solution, but an improvement over the current situation as an interim solution, where 2FA simply yields a redirect to https://kibana3.laas.uninett.no/#/connectionFailed

A better solution would be to override the connectionFailed.html file, to present a link to the user he can use to re-authenticate using 2FA, in the same fashion as the portal. However, this would take more time and requires a reliable way to generate a 2FA link.

Please note that this pull request will NOT actually solve 2FA, because there is a problem with the authentication proxy as well, where the consumption of the OIDC answer simply yields "state did not match". A prior fix to the authentication proxy is therefore needed, and may obsolete this pull request by allowing a reliable way to put a link in connectionFailed.html.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 2fa-uglyfix