Giter Site home page Giter Site logo

Comments (7)

gr2m avatar gr2m commented on September 26, 2024

You can use https://github.com/octokit/oauth-auth.js https://github.com/octokit/oauth-app.js for a full SDK to create a server with all necessary APIs for the OAuth flows. See the routes at https://github.com/octokit/oauth-app.js#middlewares

Does that work for you?

There is also https://github.com/octokit/app.js which builds upon https://github.com/octokit/oauth-app.js, but also includes APIs specific to GitHub Apps

from auth-app.js.

MoSattler avatar MoSattler commented on September 26, 2024

You can use https://github.com/octokit/oauth-auth.js for a full SDK to create a server with all necessary APIs for the OAuth flows.

Hi @gr2m, thank you for your help! The link does not seem to work for me, I get a 404.

from auth-app.js.

gr2m avatar gr2m commented on September 26, 2024

Sorry! I meant https://github.com/octokit/oauth-app.js

from auth-app.js.

MoSattler avatar MoSattler commented on September 26, 2024

Thank you very much @gr2m, this is very helpful!

from auth-app.js.

MoSattler avatar MoSattler commented on September 26, 2024

@gr2m just to clarify - the linked repos help me setting up the oauth flow for a GitHub App (not an Oauth App), correct?
For my use case it is important to act on behalf an organization, not a user.

from auth-app.js.

gr2m avatar gr2m commented on September 26, 2024

the linked repos help me setting up the oauth flow for a GitHub App (not an Oauth App), correct

For my use case it is important to act on behalf an organization, not a user.

An organization cannot be an actor to e.g. create a comment. Only user accounts and GitHub Apps can be actors.

What exactly are you trying to build?

from auth-app.js.

MoSattler avatar MoSattler commented on September 26, 2024

Ok, thank you! I got a bit confused by OAUth apps vs GItHub Apps with OAuth.
I need to list the members of an organization, hence the need for a GitHub App.

Thank you very much!

from auth-app.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.