EVE-NG Linux VM SSH troubleshooting
September 20, 2025
OAuth Authorization Code flow with Patreon
In our previous post, we introduced the OAuth 2.0 Framework. Now, let’s dive into a practical example using the Authorization Code flow (3-legged).
The term “authorization code” refers to the fact that, in the process, we exchange a temporary token (authorization code) for an access token, which will grant us access to protected resources.
Patreon Integration
Our example focuses on Patreon , where we aim to automate certain tasks using Patreon’s API. According to the documentation , authentication must be done via OAuth, and the full procedure for OAuth implementation is outlined there.
Registering a New Application
First, we need to register a new application on Patreon. Head over to Clients & API Keys -> Create Client:
- Name: Test API
- Description: Testing API via OAuth
- App Category: Member Benefits
- Redirect URIs: http://localhost:5000/callback
- Client API Version: 2
After confirming, your client application should look like this:
Continue reading the post on Patreon .