Skip to content

[BUG]: createNodeMiddleware is not exported from @octokit/oauth-app #2854

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

Open
1 task done
SayakMukhopadhyay opened this issue May 22, 2025 · 1 comment
Open
1 task done
Labels
Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented

Comments

@SayakMukhopadhyay
Copy link

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

  • I agree to follow this project's Code of Conduct
@SayakMukhopadhyay SayakMukhopadhyay added Type: Bug Something isn't working as documented Status: Triage This is being looked at and prioritized labels May 22, 2025
Copy link

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

@nickfloyd nickfloyd moved this from 🆕 Triage to 🔥 Backlog in 🧰 Octokit Active Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented
Projects
Status: 🔥 Backlog
Development

No branches or pull requests

1 participant