What happened?
Although it is possible to use the OAuthApp object from octokit, it can't be used with createNodeMiddleware as the only createNodeMiddleware that is exported is from @octokit/app.
In fact, the docs at https://github.com/octokit/octokit.js?tab=readme-ov-file#oauth show a OAuthApp object being used with createNodeMiddleware, which is not possible right now.
I am willing to send in a PR for this.
Versions
Octokit js 5.0..2
Relevant log output
Code of Conduct
What happened?
Although it is possible to use the
OAuthAppobject fromoctokit, it can't be used withcreateNodeMiddlewareas the onlycreateNodeMiddlewarethat is exported is from@octokit/app.In fact, the docs at https://github.com/octokit/octokit.js?tab=readme-ov-file#oauth show a
OAuthAppobject being used withcreateNodeMiddleware, which is not possible right now.I am willing to send in a PR for this.
Versions
Octokit js 5.0..2
Relevant log output
Code of Conduct