Skip to content
New issue

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

OAuth2 getToken invalid_request #120

Closed
sejbr opened this issue Jan 10, 2017 · 1 comment
Closed

OAuth2 getToken invalid_request #120

sejbr opened this issue Jan 10, 2017 · 1 comment
Assignees
Labels
🚨 This issue needs some love. triage me I really want to be triaged.

Comments

@sejbr
Copy link

sejbr commented Jan 10, 2017

I'm quite new to both NodeJS and the new GoogleApis since I've been always using keys mostly.
I've had quite a stumble with this since it uses different oauth2 urls, be it /oauth2/v2/auth instead of /oauth2/auth and /oauth2/v4/token instead of /oauth2/token, I'm guessing because of the ability not to use secrets for installed apps in those versions.
Any way of changing the versions without editing the privates in oauth2client.js?
I've seen usage like require('googleapis').youtube('v3') but I've tried different things and can't seem to get it to work without changing the consts.

@JustinBeckwith
Copy link
Contributor

These urls are changed in #215, which will be in the upcoming 1.0 release of the library.

JustinBeckwith added a commit that referenced this issue Jan 3, 2018
Note: This is a semver minor change (though it will be included in the 1.0 release). I have no reason to believe it breaks any functionality, but it does (I think) bring us up to date with the most recent documentation:
https://developers.google.com/identity/protocols/OAuth2InstalledApp

It's also suggested in #120 that this is causing problems for users as well.
ofrobots pushed a commit that referenced this issue Jan 9, 2018
Note: This is a semver minor change (though it will be included in the 1.0 release). I have no reason to believe it breaks any functionality, but it does (I think) bring us up to date with the most recent documentation:
https://developers.google.com/identity/protocols/OAuth2InstalledApp

It's also suggested in #120 that this is causing problems for users as well.
@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Apr 6, 2020
@JustinBeckwith JustinBeckwith self-assigned this Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 This issue needs some love. triage me I really want to be triaged.
Projects
None yet
Development

No branches or pull requests

4 participants