Allow LiteFarm to access DFC API

This commit is contained in:
Maikel Linke
2025-11-07 13:07:22 +11:00
parent ad5a22a69b
commit 2805ea4926

View File

@@ -15,6 +15,10 @@ class ApiUser
id: "https://carte.cqcm.coop/profile",
tokens: "https://authentification.cqcm.coop/realms/cqcm/protocol/openid-connect/token",
},
'lf-dev' => {
id: "https://www.litefarm.org/profile",
tokens: "https://login.fooddatacollaboration.org.uk/realms/dev/protocol/openid-connect/token",
},
}.freeze
CLIENT_MAP = PLATFORMS.keys.index_by { |key| PLATFORMS.dig(key, :id) }.freeze