Custom signin page

Hi,
is there a way to provide some custom html for the signin page for sensu-go? I have an LDAP setup for authentication which provides a self service password reset option. I’d like to link to that directly from the the sensu-go signin page (e.g. a “Reset Password” link to it) if possible.

Any help appreciated.
Thanks.

1 Like

Custom sign-in pages are not supported, but this sounds like something we could improve. Is the self-service password reset page reachable via a link? If so we might be able to add a configurable field for providing an “SSO password reset url” and then show a “reset password” link on the sign-in page.

Does this sound useful?

Hi, that sounds like it would fit perfectly. I just need something customisable in the sign-in dialogue box which would enable an override - in this case the URL to the SSO password reset self service page.

What’s the process for raising a feature request like this?

1 Like

A GitHub issue here would be great: GitHub - sensu/sensu-go: Simple. Scalable. Multi-cloud monitoring.

If you could link back to this discussion that would be great. Thanks!

Hi, I’ve updated to sensu go 6.4.0 as the new Web UI customisation options to display a message in the login box seemed to be exactly what I need.

However, I can’t figure out the syntax to display an HTML link, and have it as a clickable element on the page. This is so close to being exactly what I need, is there a way to make text in this box a link?

Here’s my yaml spec file for setting it up as it stands now - the https://example.com displays as is, but I’d like it to be a hyperlink.

type: GlobalConfig
api_version: web/v1
metadata:
  name: custom-web-ui
  created_by: admin
spec:
  signin_message: Dev Instance built 05/07/2021 11:30 https://example.com
  always_show_local_cluster: false
  default_preferences:
    page_size: 50
    theme: classic
  page_preferences:
    - page: entities
      page_size: 50
      order: LASTSEEN
      selector: proxy in entity.subscriptions
    - page: checks
      page_size: 100
      order: NAME
  link_policy:
    allow_list: true
    urls:
    - https://example.com
    - steamapp://34234234
    - "//google.com"
    - "//*.google.com"
    - "//bob.local"
    - https://grafana-host/render/metrics?width=500&height=250#sensu.io.graphic

Thanks, and keep up the great work!

thanks for the awesome information.

thanks my issue has been fixed.