{"id":27452085,"url":"https://github.com/ublabs/netlify-cms-oauth","last_synced_at":"2026-02-20T06:30:23.765Z","repository":{"id":44121498,"uuid":"338400646","full_name":"ublabs/netlify-cms-oauth","owner":"ublabs","description":"Use Netlify CMS for sites hosted on Vercel.","archived":false,"fork":false,"pushed_at":"2023-02-28T20:07:11.000Z","size":44,"stargazers_count":65,"open_issues_count":0,"forks_count":37,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-02T02:41:57.124Z","etag":null,"topics":["github","jamstack","netlify","netlify-cms","netlifycms","oauth2","serverless","tailwindcss","vercel"],"latest_commit_sha":null,"homepage":"https://netlify-cms.adrianub.vercel.app","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ublabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-12T18:30:18.000Z","updated_at":"2024-04-05T14:58:44.000Z","dependencies_parsed_at":"2022-08-05T13:00:41.053Z","dependency_job_id":null,"html_url":"https://github.com/ublabs/netlify-cms-oauth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ublabs%2Fnetlify-cms-oauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ublabs%2Fnetlify-cms-oauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ublabs%2Fnetlify-cms-oauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ublabs%2Fnetlify-cms-oauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ublabs","download_url":"https://codeload.github.com/ublabs/netlify-cms-oauth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249062452,"owners_count":21206692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","jamstack","netlify","netlify-cms","netlifycms","oauth2","serverless","tailwindcss","vercel"],"created_at":"2025-04-15T11:39:41.559Z","updated_at":"2026-02-20T06:30:23.714Z","avatar_url":"https://github.com/ublabs.png","language":"HTML","funding_links":[],"categories":["OAuth Client"],"sub_categories":[],"readme":"\u003ca href=\"https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fublabs%2Fnetlify-cms-oauth\u0026env=OAUTH_GITHUB_CLIENT_ID,OAUTH_GITHUB_CLIENT_SECRET,OAUTH_GITLAB_CLIENT_ID,OAUTH_GITLAB_CLIENT_SECRET\u0026envDescription=Create%20a%20OAuth%20App%20on%20Github%20and%20Gitlab%20and%20set%20variables%20information%20\u0026envLink=https%3A%2F%2Fgithub.com%2Fublabs%2Fnetlify-cms-oauth%23deploy\u0026project-name=netlify-cms-oauth\u0026repo-name=netlify-cms-oauth\u0026demo-title=Netlify%20CMS%20OAuth\u0026demo-description=Use%20Netlify%20CMS%20for%20sites%20hosted%20on%20Vercel.\u0026demo-url=https%3A%2F%2Fnetlify-cms-adrianub.vercel.app\"\u003e\u003cimg height=\"100\" src=\"https://vercel.com/button\" alt=\"Deploy with Vercel\" align=\"right\"\u003e\u003c/a\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003ch3\u003e\n        Netlify CMS on Vercel\n    \u003c/h3\u003e\n    \u003cp\u003e\n        A simple OAuth2 serverless gateway for Netlify CMS\n    \u003c/p\u003e\n\u003c/div\u003e\n\n---\n\n## Why do I need this?\n\nIf you would like to use Netlify CMS to manage your site deployed to Vercel.\n\n[GitHub](https://github.com) and [Gitlab](https://gitlab.com) requires a server for authentication and Netlify provides this server only for sites deployed to it. Fortunately, such server is rather small and can work with Vercel's serverless functions.\n\n## Usage\n\nIn yours projects modify `config.yml` file:\n\n```yaml\nbackend:\n  name: [github | gitlab]\n  repo: adrian-ub/adrian-ub # Path to your Github/Gitlab repository\n  branch: main # Branch to update\n  base_url: https://netlify-cms.adrianub.vercel.app\n```\n\n## Deploy\n\n- Create Github OAuth App:\n  - Go to [developer settings](https://github.com/settings/developers)\n  - Set `Authorization callback URL` to your deployed oauth website's callback URL:\n    `https://netlify-cms.adrianub.vercel.app/callback`\n- Create Gitlab OAuth app:\n  - Go to [User settings \u003e Applications](https://gitlab.com/-/profile/applications)\n  - Set `Redirect URI` to your deployed oauth website's callback URL:\n    `https://netlify-cms.adrianub.vercel.app/callback`\n- Set environment variables on `Vercel`\n\n    ```shell\n    OAUTH_GITHUB_CLIENT_ID=\u003cyou-client-id\u003e\n    OAUTH_GITHUB_CLIENT_SECRET=\u003cyou-client-secret\u003e\n\n    OAUTH_GITLAB_CLIENT_ID=\u003cyou-client-id\u003e\n    OAUTH_GITLAB_CLIENT_SECRET=\u003cyou-client-secret\u003e\n    ```\n\n## Authors\n\n- Adrián UB ([@AdrianUB](https://twitter.com/AdrianUB))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fublabs%2Fnetlify-cms-oauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fublabs%2Fnetlify-cms-oauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fublabs%2Fnetlify-cms-oauth/lists"}