This is a simple example of using Netlify as an OAuth2 provider

Step 1: Register your OAuth App

Start by going to https://app.netlify.com/applications and create a new OAuth Application.

Make sure you enter

as the Redirect URI for your new app.

Once your're done, enter the Client ID of your new application here:

Step 2: Authorize with Netlify

Click here to authorize with netlify

Step 3: Make API calls

Loading sites for this user...