This web app was written as an exercise to understand the OAuth2 authorization code grant flow with Github identities. It is based on the sample code from Aaron Parecki at https://github.com/aaronpk/sample-oauth2-client. The code from this web app can be found at https://github.com/stephanwaelde/consentgithub.
It can be tested with any Github account by clicking on the link below. This web app will list the public repositiories once it has been given access permission. This is the permission the web app will request: