From 65b22e5473aeeed5539713eda2ac372478684750 Mon Sep 17 00:00:00 2001
From: "ext.sopra.yvallet@grandlyon.com" <ext.sopra.yvallet@grandlyon.com>
Date: Tue, 20 Oct 2020 09:35:44 +0200
Subject: [PATCH] fix grdf scope for client_credentials

---
 main.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.go b/main.go
index cbda2cd..9b626ca 100644
--- a/main.go
+++ b/main.go
@@ -544,7 +544,7 @@ func main() {
 		data2.Set("client_secret", clientSecret)
 		data2.Set("grant_type", "client_credentials")
 		data2.Set("redirect_uri", redirectUri)
-		data2.Set("scope", "adict/v1")
+		data2.Set("scope", "/adict/v1")
 
 		log.Debug("data sent is : ", data2)
 		log.Debug("Send request to token endpoint: ", tokenUrl)
-- 
GitLab