---
title: "Integrating With Netlify: OAuth2 | Netlify"
description: "Realize the speed, agility and performance of a scalable, composable web architecture with Netlify. Explore the composable web platform now!"
source: "https://www.netlify.com/blog/2016/10/10/integrating-with-netlify-oauth2/"
last_updated: "2026-07-07T16:57:53.000Z"
---
Netlify has an extensive developer API that enables anybody to build integrations and services on top of our service.

Since Netlify is an OAuth2 provider, you can use this API to build services that Netlify users can authorize to operate on their behalf, whether they want you to publish projects, add snippets to their sites, install Webhooks or the like.

The typical OAuth2 flow works like this:

1.  User clicks a link or button in your app, requesting to do an action on Netlify.
2.  The user visits a link on Netlify that asks them to authorize your application.
3.  Netlify sends the user back to your app with an access token tied to their account.

While the full [OAuth2 spec](https://tools.ietf.org/html/rfc6749) is long and complex, it’s actually a very simple flow to implement.

I’ve created a sample [Netlify integration project](https://github.com/netlify/netlify-oauth-example) that shows how to do this kind of integration.

This example demonstrates the “Implicit Grant Flow” where the main security mechanism is the Redirect URI on file for the OAuth2 Application. This means it can be used from a pure single page app without any server-side code.

If your app is already using some server-side code, you might want to use the very similar “Authorization Code Grant” to make sure the final access token ends up stored server-side without any exposure to the browser.

You can play with the example here: [https://netlify-oauth-example.netlify.com/](https://netlify-oauth-example.netlify.com/) and read through the code in the [example/app.js](https://github.com/netlify/netlify-oauth-example/blob/master/example/app.js) file.

We love seeing what people build on top of our platform, and we’re always happy to help any integrator get started, so if you have questions or are working on a project, don’t hesitate to contact us!

### Share

-   [X (fka Twitter)](https://twitter.com/intent/tweet?text=Integrating With Netlify: OAuth2&url=https://www.netlify.com/blog/2016/10/10/integrating-with-netlify-oauth2//)
-   [LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.netlify.com%2Fblog%2F2016%2F10%2F10%2Fintegrating-with-netlify-oauth2%2F%2F)
-   [Facebook](https://www.facebook.com/sharer.php?u=https://www.netlify.com/blog/2016/10/10/integrating-with-netlify-oauth2//)
-   [Bluesky](https://bsky.app/intent/compose?text=Integrating With Netlify: OAuth2+https://www.netlify.com/blog/2016/10/10/integrating-with-netlify-oauth2//)

* * *

### Tags

-   [Netlify](/blog/tags/netlify/)
-   [APIs](/blog/tags/apis/)
-   [Integrations](/blog/tags/integrations/)

## Keep reading

![](/_astro/3f45eb6eda4ea8814be310e3df4a7883a5bd9ba0-1200x675_ZcBDUS.webp)

Guides & Tutorials May 15, 2026

[

### How to build a real-time AI chatbot in minutes with Netlify Agent Runners (no backend)

](/blog/how-to-build-a-real-time-ai-chatbot-in-minutes-with-netlify-agent-runners-no-backend)

-   ![Profile picture of Nahrin Jalal](/_astro/f0e7c8f227a03fe58340c99ef5439d5a896c0733-272x272_Z23kDpD.webp)
    
    Nahrin Jalal
    

![](/_astro/8fe9e8a23f944c9912003233d99a2df7fee637cf-1600x900_Z1gMhmf.webp)

Guides & Tutorials May 15, 2026

[

### Tracking AI search traffic: how to use Netlify Log Drains to maximize AEO

](/blog/tracking-ai-search-traffic)

-   ![Profile picture of Nahrin Jalal](/_astro/f0e7c8f227a03fe58340c99ef5439d5a896c0733-272x272_Z23kDpD.webp)
    
    Nahrin Jalal
    

## Recent posts

News & Announcements June 25, 2026

[

### Netlify Functions, designed for Agent Experience

](/blog/netlify-functions-designed-for-agent-experience)

-   ![Profile picture of Eduardo Bouças](/_astro/52958f21e8450baf6d8e60302341a984e220c0cd-512x512_13VDlu.webp)
    
    Eduardo Bouças
    

News & Announcements June 24, 2026

[

### How we measure Netlify’s Agent Experience

](/blog/how-we-measure-netlify-agent-experience)

-   ![Profile picture of Sean Roberts](/_astro/bbf2243f8171dbddd80ab2103622106cef84d125-512x512_Z1d2LKE.webp)
    
    Sean Roberts
    

Guides & Tutorials May 15, 2026

[

### How to build a real-time AI chatbot in minutes with Netlify Agent Runners (no backend)

](/blog/how-to-build-a-real-time-ai-chatbot-in-minutes-with-netlify-agent-runners-no-backend)

-   ![Profile picture of Nahrin Jalal](/_astro/f0e7c8f227a03fe58340c99ef5439d5a896c0733-272x272_Z23kDpD.webp)
    
    Nahrin Jalal
    

![](/_astro/3f255b372fa958df35802666ee33b4609b2d71bd-1200x1586_1VtE2D.webp)

### How do the best dev and marketing teams work together?

[Access the report](https://www.netlify.com/reports/2024-leadership-trend-report/access/)