I kept hearing about OpenCharkra but never actually clicked until now. Wow, that looks cool.
It is in theory possible to use Github OAuth with Cognito but you have to write your own custom authorizer and you would not be able to provision via AWS Amplify. I would like to at some point write examples on how to.