slashkudos / kudos-github

The official slashkudos GitHub App
https://github.com/marketplace/slashkudos
Apache License 2.0
2 stars 0 forks source link

Design GitHub social login (external IDP) #24

Open philip-gai opened 2 years ago

philip-gai commented 2 years ago
philip-gai commented 2 years ago

How will they connect to their github account? How will we persist that information? (Create account on slashkudos.com?)

How will we know which github kudos they have access to?

When the user logs in and is looking at the kudos, check if they have access to the repo. Cache or store somewhere if they have access or not for next time so we don't have to do this every time.

philip-gai commented 2 years ago
  1. Follow steps to deploy GitHub Cognito OIDC Wrapper: Getting Started
    • ~Create user pool using amplify auth add~ Create it manually, then import it using amplify auth import (Docs)
    • Create an OAuth GitHub App (Can't reuse the existing GitHub App)
philip-gai commented 2 years ago

Deployed Cognito domains (not yet working):