You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30-1Lines changed: 30 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ However, for most use cases you won’t want to require all content editors to h
10
10
11
11
Netlify’s Git Gateway lets you setup a gateway to your choice of Git provider's API ( now available with both GitHub and GitLab 🎉 ) that lets tools like Netlify CMS work with content, branches and pull requests on your users’ behalf.
12
12
13
-
The Git Gateway works with any identity service that can issue JWTs and only allows access when a JSON Web Token with sufficient permissions is present.
13
+
The Git Gateway works with some supported identity service that can issue JWTs and only allows access when a JSON Web Token with sufficient permissions is present.
14
14
15
15
To configure the gateway, see our `example.env` file
16
16
@@ -29,3 +29,32 @@ for GitLab:
29
29
/repos/:owner/:name/commits/
30
30
/repos/:owner/:name/tree/
31
31
```
32
+
33
+
**Running git-gateway to test locally**
34
+
**(Do not merge this section back to the open source project)**
35
+
**(Do not deploy it to production. It is a Proof of Concept has has not been secured. See @TODO items in code.**
36
+
**(the instruction assume Okta, and github.com)**
37
+
38
+
1. pull down this project
39
+
2. generate a `personal access token` on github. (recommended: using a test account and w/ `repo:status` and `public_repo` permission only)
0 commit comments