Skip to content

Commit

Permalink
Attempt to fix Oauth.
Browse files Browse the repository at this point in the history
  • Loading branch information
gillespied committed Jul 17, 2024
1 parent 171fe79 commit 9e7d4fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
5 changes: 4 additions & 1 deletion admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ backend:
name: github
repo: gillespied/govuk-jekyll-template
branch: add-decap-cms
auth_type: pkce
base_url: https://api.github.com
auth_endpoint: auth/oauth/authorize


media_folder: "assets/uploads"
public_folder: "/assets/uploads"

Expand Down
7 changes: 0 additions & 7 deletions admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,5 @@
</head>
<body>
<script src="https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js"></script>
<script>
// GitHub OAuth configuration
window.netlifyIdentity = {
init: () => {},
on: () => {}
};
</script>
</body>
</html>

0 comments on commit 9e7d4fc

Please sign in to comment.