Skip to content
Example of how to use Netlify OAuth Applications
JavaScript CSS HTML
Branch: master
Clone or download
Latest commit 514f1e9 Mar 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
functions add UI Feb 26, 2019
public Initial commit from Create React App Feb 25, 2019
src add login button Mar 8, 2019
.gitignore add sortable view Feb 27, 2019
README.md Update README.md Mar 12, 2019
netlify.toml
package.json add login button Mar 8, 2019
yarn.lock Initial commit from Create React App Feb 25, 2019

README.md

Netlify OAuth deploy to netlify

Example of how to use Netlify OAuth Applications

Use cases

Using Netlify OAuth you can create custom experiences using the Netlify Open API.

Here are some use cases:

  • Building a custom Netlify admin UI
  • Building Netlify Desktop Applications
  • Making an App that user's existing Netlify sites
  • Manage Netlify sites, new deployments, & other things from inside your third party application

Video

How it works

Netlify OAuth + Functions

Setup

  1. Create and Deploy a new Netlify site

    You can use an this repo

  2. Create OAuth application

    Create your OAuth application in the Netlify admin UI.

    Add in your callback URL. This can be changed later.

    image

  3. After creating your OAuth app, Click on show credentials

    Save these credentials for the next step

    image

  4. Take your OAuth credentials and add them to your OAuth app site

    Set NETLIFY_OAUTH_CLIENT_ID and NETLIFY_OAUTH_CLIENT_SECRET environment variables in your site

    image

  5. Then trigger a new deploy

    image

  6. Visit your site and verify the OAuth flow is working

You can’t perform that action at this time.