Skip to content

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

@SayakMukhopadhyay

Description

@SayakMukhopadhyay

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is being looked at and prioritizedType: BugSomething isn't working as documented

    Type

    No type

    Projects

    Status

    🔥 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions