Files
strapi/patches/grant+5.4.22.patch
2024-10-29 05:37:46 +01:00

32 lines
961 B
Diff

diff --git a/node_modules/grant/config/oauth.json b/node_modules/grant/config/oauth.json
index 54afd00..4a2ba1e 100644
--- a/node_modules/grant/config/oauth.json
+++ b/node_modules/grant/config/oauth.json
@@ -1179,5 +1179,11 @@
"access_url": "https://zoom.us/oauth/token",
"oauth": 2,
"scope_delimiter": " "
- }
+ },
+ "trompette": {
+ "authorize_url": "https://trompette.espace120.fr/oauth/v2/authorize",
+ "access_url": "https://trompette.espace120.fr/oauth/v2/token",
+ "oauth": 2,
+ "scope_delimiter": " "
+ }
}
diff --git a/node_modules/grant/config/profile.json b/node_modules/grant/config/profile.json
index c5956c1..e9fe3f5 100644
--- a/node_modules/grant/config/profile.json
+++ b/node_modules/grant/config/profile.json
@@ -634,5 +634,8 @@
},
"zoom": {
"profile_url": "https://api.zoom.us/v2/users/me"
- }
+ },
+ "trompette": {
+ "profile_url": "https://trompette.espace120.fr/oidc/v1/userinfo"
+ }
}