Enables Login for Patreon Creators, Patrons are not allowed to login when this plugin is installed.
If the Creator has an Adult content campaign, then the user is added to the group configured in the plugin settings. If there is no Adult content campaign, then the user is removed from the configured group.
Proceed with a normal installation of a plugin.
You need to fill the following fields on Settings -> Plugins:
- Client ID
- Client Secret
- Creator's Access Token
- Creator's Refesh Token
- Creator NSFW Group
To get those values you must have a Creator account first.
Then go to Clients & API Keys and fill the necessary info.
The Redirect URIs must be
http://<DISCOURSE BASE URL>/auth/patreon/callback, like https://meta.discourse.org/auth/patreon/callback for example.
Then you use the generated tokens to configure the plugin.
This plugin will also enable a Social Login with Patreon, making it easier for your patron to sign up on Discourse.
Use the below steps to set up your local dev environment:
- Clone git@github.com:discourse/discourse_docker.git
- cd into the new repo
cd discourse_docker - Copy the
example_app.ymlfrom this gist tocontainers/app.yml. - Edit the different TODO lines and fill in the data.
- Edit
app.yml, lines79and82. Specify the path to theshared/standalonefolder. - Edit
app.yml, line94and specify the branch of the plugin you want to run. Currently, it is set tomasterbranch. Line95is an example of how to specify the branch. - Install the
lvh.meSSL cert and key into theshared/standalone/ssl/ssl.crtandshared/standalone/ssl/ssl.key. Refer toTerminal Development TLS Certificatesin 1Password. - Run the following:
./launcher rebuild app - wait
- Once all done, you can browse to https://lvh.me:8443/
- Change the
app.ymland point it to your branch. - Rebuild the app
./launcher rebuild app - Now your Discourse is pointed to your branch of the plugin.
- To deploy plugin changes, you can push them up to
originand then browse tohttps://lvh.me:8443/admin/upgrade. You can then upgrade without doing a fulllaunger rebuild app.

