Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 1
Message 1 of 2

How to authenticate user using GitHub app?

I setup a GitHub application for my organization and have authentication against GitHub for my webapp working via the instructions at https://developer.github.com/v3/guides/basics-of-authentication/.  I only want users that are a member of my github organization to have access to my web application.  How do I limit who can login via my GitHub app?

 

Thanks

1 Reply
Community Manager
Message 2 of 2

Re: How to authenticate user using GitHub app?

Hi @mlbiam,

 

Thanks for being here! GitHub Apps are installed on a specific user or organization and the permissions scope of such an installation is that single user or organization.

 

If you want to see which repositories the installation can access on behalf of a user, then there's a different endpoint for that:

https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-user-for-an-...

Thanks for being here, sharing, and keeping our community awesome!
Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!