Skip to content

Missing examples in "Authenticating with a GitHub App on behalf of a user" #31006

Open
@NatoBoram

Description

@NatoBoram

Code of Conduct

What article on docs.github.com is affected?

What part(s) of the article would you like to see updated?

Authenticating with a GitHub App on behalf of a user is missing an example for how to do this with cURL. It's also missing an example on how to do this with Octokit.js.

Generating a user access token for a GitHub App#Generating a user access token when a user installs your app is missing examples for how to login after you've obtained the token.

There's no way to tell how to do this by looking at octokit/authentication-strategies.js#GitHub App or installation authentication since it redirects to Web application flow, which doesn't mention refresh tokens.

Speaking of refresh tokens, Refreshing user access tokens#Refreshing a user access token with a refresh token is missing an example on how to do this with Octokit.js.

Additional information

The previous page, "Authenticating as a GitHub App installation", has examples on how to do it with both cURL and Octokit.js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamgithub appsContent related to GitHub Appshelp wantedAnyone is welcome to open a pull request to fix this issuestaleThere is no recent activity on this issue or pull request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions