0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/connectors/connector-patreon
Gao Sun ab82e83afb
chore: upgrade vitest and happy-dom (#6858)
* chore: upgrade happy-dom and vitest

* chore: upgrade @vitest/coverage-v8
2024-12-08 01:11:15 +08:00
..
src feat: add Patreon connector (#6514) 2024-08-28 13:00:24 +08:00
CHANGELOG.md release: version packages (#6424) 2024-09-13 18:06:50 +08:00
logo-dark.svg feat: add Patreon connector (#6514) 2024-08-28 13:00:24 +08:00
logo.svg feat: add Patreon connector (#6514) 2024-08-28 13:00:24 +08:00
package.json chore: upgrade vitest and happy-dom (#6858) 2024-12-08 01:11:15 +08:00
README.md feat: add Patreon connector (#6514) 2024-08-28 13:00:24 +08:00

Patreon Connector

The official Logto connector for Patreon social sign-in, based on the Hugging Face connector by Silverhand Inc.

Table of contents

Get started

The Patreon connector enables end-users to sign in to your application using their own Patreon accounts via the Patreon OAuth 2.0 authentication protocol. This connector is adapted from the Hugging Face connector by Silverhand Inc., leveraging many of the same implementation patterns and configurations.

Sign in with Patreon account

Go to the Patreon website and sign in with your Patreon account. You may register a new account if you don't have one.

Create and configure OAuth app

Follow the creating a Patreon OAuth App guide, and register a new application.

Name your new OAuth application in App Name and fill up App URL of the app. You can leave the App Description field blank and customize the Redirect URIs as ${your_logto_origin}/callback/${connector_id}. The connector_id can be found on the top bar of the Logto Admin Console connector details page.

Note: If you encounter the error message "The redirect_uri MUST match the registered callback URL for this application." when logging in, try aligning the Redirect URI of your Patreon OAuth App and your Logto App's redirect URL (including the protocol) to resolve the issue.

Managing OAuth apps

Go to the Clients & API Keys page on Patreon, where you can add, edit, or delete existing OAuth apps. You can also find the Client ID and generate Client secrets in the OAuth app detail pages.

Configure your connector

Fill out the clientId and clientSecret field with the Client ID and Client Secret you've got from the OAuth app detail pages mentioned in the previous section.

scope is a space-delimited list of scopes. If not provided, the scope defaults to identity identity[email].

Config types

Name Type
clientId string
clientSecret string
scope string

Test Patreon connector

That's it. The Patreon connector should be available now. Don't forget to Enable connector in sign-in experience.

Reference