Customize Forgot Your Password email

  • What Grafana version and what operating system are you using?
    grafana version 11.2.2
    RHEL 9

  • What are you trying to achieve?
    I’m trying to allow users to use the Forgot Your Password button to reset their own passwords.

  • How are you trying to achieve it?
    I setup the SMTP settings in grafana.ini and the emails are being received.

  • What happened?
    The link for “Reset Password” includes the PORT that grafana is being served on.

  • What did you expect to happen?
    Grafana is running behind a reverse proxy on a subpath and the PORT is not available at the border (I add the port in with the reverse proxy). This seems to be working well with most things in Grafana, so I assumed the port would not be included in the link in the email.

It would be nice if there was a way to customize this email or at least alter the pattern for the link so that the port is not present.

  • Can you copy/paste the configuration(s) that you are having problems with?
    I couldn’t find any relevant config to change.

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    none received

  • Did you follow any online instructions? If so, what is the URL?
    I couldn’t find any instructions for customizing the Forgot Your Password email.