Page not found 404 Error - /SAML/Metadata

  • What Grafana version and what operating system are you using? - * Grafana v8.1.0-beta3 (f778fdbbe8) - Windows 10

  • What are you trying to achieve? - To configure SSO

  • How are you trying to achieve it? - SAML Configuration Steps mentioned in the document.

  • What happened? - Page not found 404 Error message displayed after enabled SAML

  • What did you expect to happen? SP Metadata should be available to download.

  • Can you copy/paste the configuration(s) that you are having problems with?

[auth.saml]
enabled = true
single_logout = true
certificate_path = D:\Grafana key\sp_cert.pem
private_key_path = D:\Grafana key\sp_key.pem
signature_algorithm = rsa-sha256
idp_metadata_path = D:\Grafana key\federationmetadata.xml
max_issue_delay = 90s
metadata_valid_duration = 48h
allow_idp_initiated = true

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

Page not found 404 Error - /SAML/Metadata

t=2021-08-03T09:31:21+0800 lvl=info msg=“Request Completed” logger=context userId=1 orgId=1 uname=admin method=GET path=/saml/metadata status=404 remote_addr=[::1] time_ms=2 size=30186 referer=
t=2021-08-03T09:31:21+0800 lvl=dbug msg=“Client disconnected” logger=live user=1 client=3ca9713e-abf2-493a-a09d-b88874cbbb09 reason=normal elapsed=1m10.1480549s
t=2021-08-03T09:31:21+0800 lvl=dbug msg=“avatar.fetch(fetch new avatar): https://secure.gravatar.com/avatar/46d229b033af06a191ff2267bca9ae56?d=retro&r=pg&size=200
t=2021-08-03T09:31:21+0800 lvl=info msg=“Request Completed” logger=context userId=1 orgId=1 uname=admin method=GET path=/api/live/ws status=0 remote_addr=[::1] time_ms=1 size=0 referer=
t=2021-08-03T09:31:21+0800 lvl=dbug msg=“Client connected” logger=live user=1 client=d1386760-020a-4e62-b45a-f73b9d8bbdd9
t=2021-08-03T09:31:21+0800 lvl=dbug msg=“Scheduling update” logger=alerting.scheduler ruleCount=0
t=2021-08-03T09:31:31+0800 lvl=dbug msg=“Scheduling update” logger=alerting.scheduler ruleCount=0

@rbharatharun are you running Grafana Cloud? Grafana Enterprise?

This topic was automatically closed after 365 days. New replies are no longer allowed.