-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
Use the Authorization HTTP header instead of access_token
query parameter
#75
Comments
Got something similar to this yesterday... it's very unclear what GH is doing with this. As the Active Maintainer of our project the documentation I've read at:
and so on. We have an issue I opened yesterday because at one point we utilize Our message was:
This may not be related to this package however it's important that we rule this out for sure. 👀 |
According to the email, this issue is caused by
It might be not related but in another GitHub APP of mine, I met a similar issue and solved it by removing |
Also getting this. |
In our case I'm not sure we actually have saved the normal OAuth token anywhere (just the client_id and client_secret) so using Appreciate the response... maybe I'll absorb what is changing when I have some more dedicated time. In general it seems like the QSP's for the API are going away completely. |
The UA is clearly in the code:
What's not clearly in the code is |
Nice catch... guess searching the project with GH didn't yield this ~20 minutes moments ago (or maybe missed... going to go AFK cuz it's late). |
So it looks like it might be a bug, but the deprication notice from GH is a misnomer.
or a client_id/client_secret query parameter for OAuth application authenticationSo it looks like it could also be 😴 |
As I understand it, passport-github is unmanaged and has beed forked into passport-github2 maintained by @cfsghost , so maybe it is more likely to be addressed there |
I've received a similar email regarding the use of Upon investigating, I realised that |
I've only tested it for my own Github App, but merely adding an https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow |
Received this 😞
Any update guys? |
Looks like this repo has been deprecated as per PassportJS. We should be using passport-github2 package. |
Note: I haven't tested any of this so take it with a grain of salt. If your email only mentions passport-github/lib/strategy.js Line 65 in c103215
If the email mentions
passport-github/lib/strategy.js Line 138 in 4db6a1b
|
@jaredhanson Any updates on this? |
Got the email today. |
@emwalker did going to passport-github2 solve your issue? From glancing at their code, it is still doing the same this._oath2.get() call with the accessToken, instead of setting the Authorization header like the PR here does. https://github.com/jaredhanson/passport-github/pull/76/files |
@joeycozza going to |
Today I got an email containing the following.
The text was updated successfully, but these errors were encountered: