Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/storj/netlify-cms-oauth-provider-go

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/storj/netlify-cms-oauth-provider-go

  • v0.0.0-20201228204006-fcab0820ede9
  • Source
  • Go
  • Socket score

Version published
Created
Source

netlify-cms-oauth-provider-go

Netlify-CMS oauth client sending token in form as Netlify service itself, implementation in Go (golang)

inspired by netlify-cms-github-oauth-provider (node-js). Thanks Václav!

1) Install

TODO... Now just download binary release, or compile from source.

2) Config

Auth Provider Config

Configuration is done with environment variables, which can be supplied as command line arguments, added in your app hosting interface, or loaded from a .env (dotenv) file.

Example .env file:

HOST=localhost:3000
SESSION_SECRET=your-random-string
GITHUB_KEY=
GITHUB_SECRET=
BITBUCKET_KEY=
BITBUCKET_SECRET=
GITLAB_KEY=
GITLAB_SECRET=

Client ID & Client Secret: After registering your Oauth app, you will be able to get your client id and client secret on the next page.

CMS Config

You also need to add base_url to the backend section of your netlify-cms's config file. base_url is the live URL of this repo with no trailing slashes.

backend:
  name: github
  repo: user/repo   # Path to your Github repository
  branch: main    # Branch to update
  base_url: https://your.server.com # Path to ext auth provider

FAQs

Package last updated on 28 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc