mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Correct needed scope of access token
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user