Skip to content

patrickdmccarthy/netlify-oauth-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

See updated OAuth example here

Example of using Netlify's OAuth2 Provider

This demo will show how to ask a user to authorize your app with Netlify, and get back and access token that you can use to do deploys, list sites, etc, etc, via Netlify's API.

Installation

Clone this repository and do a quick deploy to netlify:

npm install netlify-cli -g
netlify deploy --path example/

Then visit the URL of your new site and follow the instructions.

Source Code

To follow along, just read the file example/app.js and see how the flow is implemented.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 69.5%
  • HTML 21.5%
  • CSS 9.0%