Open
Description
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch grant@5.4.22
for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/grant/config/oauth.json b/node_modules/grant/config/oauth.json
index 54afd00..f5f73e4 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": " "
+ },
+ "trackmania": {
+ "authorize_url": "https://api.trackmania.com/oauth/authorize",
+ "access_url": "https://api.trackmania.com/api/access_token",
+ "oauth": 2,
+ "scope_delimiter": " "
}
}
diff --git a/node_modules/grant/config/profile.json b/node_modules/grant/config/profile.json
index c5956c1..6259b26 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"
+ },
+ "trackmania": {
+ "profile_url": "https://api.trackmania.com/api/user"
}
}
This issue body was partially generated by patch-package.
Metadata
Metadata
Assignees
Labels
No labels