{"repo":"dorukgezici/astro-decap-cms-oauth","free":true,"listed":false,"github":"https://github.com/dorukgezici/astro-decap-cms-oauth","clone":"git clone https://github.com/dorukgezici/astro-decap-cms-oauth.git","description":"Add Decap CMS’s admin dashboard and custom OAuth backend routes for GitHub to your Astro project","language":"TypeScript","stars":77,"topics":["astro-integration","decap-cms"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"astro-decap-cms-oauth Astro integration for Decap / Sveltia CMS with custom OAuth backend This integration automatically mounts the Decap CMS (or any compatible CMS like Sveltia) admin dashboard to /admin and custom OAuth authentication backend routes to /oauth , /oauth/callback using GitHub as the provider. This way, you aren't vendor-locked to Netlify and your app can be deployed anywhere that supports SSR. Installation Manual Installation Usage 1. Put your config.yml file in public/admin/config.yml (see Decap CMS Docs for more info) 2. Set up GitHub OAuth app (recommended) or GitHub App GitHub OAuth App On GitHub, go to Settings Developer Settings OAuth apps New OAuth app. Or use this direct link. Homepage URL : This must be the prod URL of your application. Authorization callback URL : This must be the prod URL of your application followed by /oauth/callback . GitHub App Register a new GitHub application on GitHub (details). Select the scopes as content:write Homepage URL : This must be the prod URL of your application. Authorization callback URL : This must be the prod URL of your application followed by /oauth/callback . Once registered, click on the Generate a new client secret button. The app’s Client ID and Client Secret will be displayed. Then navigate to https://github.com/apps/ /installations/new to install it on the repo. You can scope the access tokens further if wanted - details on this page You can then use this ID for the OAUTH GITHUB REPO ID environment vari","default_branch":null,"files":null,"tree":[],"storefront":"/r/dorukgezici","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dorukgezici/astro-decap-cms-oauth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}