We have developed back-end application which is capable of listing authenticated user’s organizations, repositories etc.
This application uses GitHub OAuth2 Web flow as the authentication mechanism.
In order to work with this application first, we need to created an OAuth application within the GitHub.
With regard to this, There are two ways how we can create an OAuth application in GitHub.
- One is within a organization space
- Other one is within a respective user’s space.
In a situation where we are listing user’s organizations and repositories etc., in which of above space we should create the OAuth application?
- Should we create a dedicated organization only to hold the OAuth application?
- Should we create an OAuth application within a particular user’s spcace? (admin user etc.)