Back to Unity

DryreL Software Unity

Patreon Authenticator for Unity

Patreon sign-in and membership checks for Unity games

Let players sign in with Patreon and unlock content for your supporters, on every platform Unity builds for.

Not released yet

  • AES-256Encrypted credentials
  • 6Platforms
  • 4Security levels

Overview

What it does

A Unity package that connects your game to Patreon with OAuth 2.0, so you can verify supporters and unlock content for them.

  • Unity
  • C#
  • REST API
  • OAuth 2.0

Platforms

  • WebGL
  • Android
  • iOS
  • Windows
  • macOS
  • Linux

Gallery

See it in action

Unity Patreon Authenticator package icon
The package icon.

How it works

From zero to working

  1. Create a Patreon clientRegister your app in the Patreon Developer Console.
  2. Encrypt your credentialsA built-in tool encrypts the client secret so it never sits in plain text in your build.
  3. Add PatreonManagerDrop it in the scene with your config and the platform handlers.
  4. Sign players inVerify supporters and unlock content from their membership.

Features

Built to just work

  • OAuth 2.0 sign-inPatreon login with state (CSRF) validation, token refresh and profile and subscription details.
  • Embedded HTTP serverA built-in listener catches the OAuth callback on desktop; deep links and a WebGL handler cover mobile and the browser.
  • Secure by defaultAES-256 encrypted, device-bound token storage with PBKDF2 key derivation, and thread-safe request handling.
  • Identity-bound backendData access is authorised by a Supabase Auth session derived from the player's verified Patreon identity, never by the key shipped in your build.
  • Every platformWebGL, Android, iOS, Windows, macOS and Linux.
  • Polished detailsCustomisable success and error pages, animated GIF avatars and built-in security tests.
  • Creator APIOptional access to campaign data, member lists and tier information for the creator account.
  • Custom URI middlewareOAuth callbacks work across platforms, including dynamic URI schemes.

Reference

Security levels

LevelClient IDClient secretUse
MaximumObfuscatedEncryptedProduction
HighPlain textEncryptedDevelopment
MediumObfuscatedPlain textTesting
NonePlain textPlain textNot recommended

Requirements

Before you start

  • Unity 2021.3 LTS or newer
  • .NET Standard 2.1 or newer
  • Newtonsoft Json package (com.unity.nuget.newtonsoft-json)
  • Internet connection for Patreon API calls