Sign in with Patreon
People can now sign in to Apiome, create an account and link their Patreon account on Linked accounts with Continue with Patreon.
- For administrators. Patreon is a new entry in System settings → Add Provider. It needs
the Client ID and Client Secret of a client created under Clients & API Keys on the
Patreon developer portal; there is no issuer to set.
Sign-in providers lists what to set on
Patreon's side. The environment variables are
PATREON_CLIENT_IDandPATREON_CLIENT_SECRET. - Callback URL.
<BETTER_AUTH_URL>/api/auth/oauth2/callback/patreon, added under the client's Redirect URIs. - Scopes. Apiome asks for identity[email] only. It reads the name, email address and profile image of the person signing in; it reads no campaigns, memberships, pledges or posts and keeps no Patreon token.
- Trusted. Patreon says whether the email address is verified. A verified address joins the Apiome account with that address, or creates one; an unverified one ends with Your sign-in provider could not confirm that your email address is verified…. How a provider's email is trusted explains the classes.
- REST API.
GET /v1/admin/auth-providerslistspatreonas an available provider, andPUT /v1/admin/auth-providers/patreonstores its credentials.
