amazon-cognitoopenid-connectgithub-api

Add Github Identity Provider to AWS Cognito


I have created a Github OAuth app and I am trying to add the app as an OIDC application to AWS Cognito.

However, I cannot find a proper overview about the endpoints and data to fill in anywhere in the Github Docs.

The following fields are required:

Issuer -> ?

Authorization endpoint => https://github.com/login/oauth/authorize (?)

Token endpoint => https://github.com/login/oauth/access_token (?)

Userinfo endpoint => https://api.github.com/user (?)

Jwks uri => ?

I couldn't find the Jwks uri anywhere. Any help would be highly appreciated.


Solution

  • Seems like there is no way to get this working out of the box.

    https://github.com/TimothyJones/github-cognito-openid-wrapper seems to be a way to get this working.

    If any Cognito dev sees this, please add Github/Gitlab/Bitbucket support.