decaporg / decaporg/decap-cms

Can we authenticate with Cognito and then Github?

Open
#2,162 5 comments 4 reactions 0 assignees View on GitHub
pinned
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

**Describe the bug**
We are trying to leverage NetlifyCMS on an authenticated cognito user pool. How do we leverage Git-Gateway or OAuth Clients to get valid token for Github?

We tried [openid-wrapper](https://github.com/TimothyJones/github-cognito-openid-wrapper/issues/12), [Vencax's Oauth Client](https://github.com/vencax/netlify-cms-github-oauth-provider) and tried the [Github Oauth API](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/)

Ideally we would like to map one github repo for all cognito users? or some other way to leverage CMS capabilities. We don't want to expose Github to our users. How do we achieve this? Any help will be highly appreciated

Thanks for building a great product!

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Git-Gateway and OAuth Clients mentioned in the issue, along with the openid-wrapper, Vencax OAuth Client, and GitHub OAuth API references. Determine whether NetlifyCMS can support Cognito users without exposing GitHub, and document or implement a supported flow that maps users to one repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, github, javascript
Domain
authentication, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.