More Premium Hugo Themes Premium Astro Themes

Astro Decap Cms Oauth

Add Decap CMS’s admin dashboard and custom OAuth backend routes for GitHub to your Astro project

Astro Decap Cms Oauth

Add Decap CMS’s admin dashboard and custom OAuth backend routes for GitHub to your Astro project

Author Avatar Theme by dorukgezici
Github Stars Github Stars: 61
Last Commit Last Commit: Jan 21, 2025 -
First Commit Created: Aug 8, 2025 -
default image

Overview

This integration provides an efficient way to automatically mount the Decap CMS (or any compatible CMS, such as Sveltia) admin dashboard directly to your application’s /admin route. Coupled with custom OAuth authentication backend routes at /oauth and /oauth/callback using GitHub as the authentication provider, it allows developers the flexibility to deploy their apps on any SSR supporting infrastructure, ensuring you aren’t limited to a specific vendor, like Netlify.

The setup process is straightforward, involving configuration through environment variables and setting up an OAuth app on GitHub, making it an appealing choice for those looking to streamline their content management while maintaining deployment freedom.

Features

  • Flexible Deployment: Allows your application to be deployed anywhere that supports SSR, eliminating vendor lock-in.

  • Seamless Integration: Automatically mounts the Decap CMS admin dashboard to the /admin route, providing an accessible interface.

  • GitHub OAuth Support: Easily integrate GitHub as your OAuth provider with custom routes configured for authentication and callbacks.

  • Customizable Environment Variables: Override default configurations such as versions of Decap CMS or disable admin and OAuth routes through simple environment variable settings.

  • Support for Other CMS: Additionally accommodates other compatible dashboards like Sveltia, enhancing versatility.

  • Easy Installation & Configuration: The integration comes with clear guidelines for manual installation and configuration through a config.yml file, making it user-friendly.

  • Advanced Scope Management: Fine-tune access by selecting specific scopes when registering your GitHub application, allowing for tailored control of permissions.