From ac3cf1f363d40352fb1cf8127256b60166cf3c14 Mon Sep 17 00:00:00 2001
From: Peter Lehmann <xgwq@xnee.net>
Date: Mon, 2 Dec 2024 06:40:01 +0100
Subject: [PATCH] grafana: update example to work with strict redirect uri
 checking (#3259)

---
 book/src/integrations/oauth2/examples.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/book/src/integrations/oauth2/examples.md b/book/src/integrations/oauth2/examples.md
index 3f03b656d..b4cf56509 100644
--- a/book/src/integrations/oauth2/examples.md
+++ b/book/src/integrations/oauth2/examples.md
@@ -799,6 +799,7 @@ Prepare the environment:
 
 ```bash
 kanidm system oauth2 create grafana "grafana.domain.name" https://grafana.domain.name
+kanidm system oauth2 set-landing-url grafana 'https://grafana.domain.name/login/generic_oauth'
 kanidm system oauth2 update-scope-map grafana grafana_users email openid profile groups
 kanidm system oauth2 enable-pkce grafana
 kanidm system oauth2 get grafana