auth-oauth-user.js
auth-oauth-user.js copied to clipboard
Octokit authentication strategy for OAuth clients
Hello everyone! I am trying to run successive requests with one octokit instance and on the second request I'm getting this error: ``` RequestError [HttpError]: The code passed is incorrect...
### What happened? The following API responds with a 404 `{"error":"Not Found"}` error: `https://github.com/login/oauth/access_token`. I have tried the following approaches: 1. cURL call 2. new Octokit( 3. createOAuthUserAuth( ### Versions...
**What happened?** When using the authentication strategy together with `@octokit/core` and adding [hooks](https://github.com/octokit/core.js#hooks), the hooks are not triggered for internal requests (e.g. to `https://github.com/login/oauth/access_token`): ```ts import { Octokit } from...
Follow up to https://github.com/octokit/auth-oauth-user.js/pull/1 **What’s missing?** ```js auth({ type: "scope" }) ``` The feature to [Create a scoped access token](https://docs.github.com/en/rest/reference/apps#create-a-scoped-access-token) is not yet implemented. I think it shouldn't work like...
[](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [fetch-mock](http://www.wheresrhys.co.uk/fetch-mock) ([source](https://redirect.github.com/wheresrhys/fetch-mock/tree/HEAD/packages/fetch-mock)) | [`^11.0.0` -> `^12.0.0`](https://renovatebot.com/diffs/npm/fetch-mock/11.1.5/12.5.2) | [](https://docs.renovatebot.com/merge-confidence/) |...