8000 patch-package grant · Issue #305 · simov/grant · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
patch-package grant #305
Open
Open
@NHTfuntin31

Description

@NHTfuntin31

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0