Skip to content

Instantly share code, notes, and snippets.

@SomajitDey
Created September 19, 2024 11:09
Show Gist options
  • Select an option

  • Save SomajitDey/865b1fda8e620fc54a11accc8167f097 to your computer and use it in GitHub Desktop.

Select an option

Save SomajitDey/865b1fda8e620fc54a11accc8167f097 to your computer and use it in GitHub Desktop.

Revisions

  1. SomajitDey created this gist Sep 19, 2024.
    4 changes: 4 additions & 0 deletions Login_with_GitHub.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    Resources:
    [docs](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app#using-the-web-application-flow-to-generate-a-user-access-token) and [tutorial](https://docs.github.com/en/apps/creating-github-apps/writing-code-for-a-github-app/building-a-login-with-github-button-with-a-github-app).

    Use [@octokit/core.js](https://github.com/octokit/core.js) or [@octokit/request.js](https://github.com/octokit/request.js/) framework [modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) for interacting with the GitHub API. Don't write your own code for this.