We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
grant@5.4.22
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.
The text was updated successfully, but these errors were encountered:
Thanks, I'm going to add it to the config here as well.
Note that you could have added that same config in your own code when initializing Grant.
Sorry, something went wrong.
No branches or pull requests
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:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: