Correct needed scope of access token

This commit is contained in:
Maikel Linke
2025-11-21 14:16:41 +11:00
parent 134ea28249
commit 4ca420bd84

View File

@@ -25,7 +25,7 @@ class ProxyNotifier
grant_type: "client_credentials",
client_id: ENV.fetch("OPENID_APP_ID", nil),
client_secret: ENV.fetch("OPENID_APP_SECRET", nil),
scope: "WriteEnterprise",
scope: "ReadEnterprise",
}
response = connection.post(url, data)
response.body["access_token"]