Sign in with Gumroad
People can now link their Gumroad account on Linked accounts and sign in to Apiome with it from then on.
- For administrators. Gumroad is a new entry in System settings → Add Provider. It needs
the Application ID and Application Secret of an application created under Settings →
Advanced → Applications on Gumroad — no issuer.
Sign-in providers lists what to set on
Gumroad's side. The environment variables are
GUMROAD_CLIENT_IDandGUMROAD_CLIENT_SECRET. - Callback URL.
<BETTER_AUTH_URL>/api/auth/oauth2/callback/gumroad, set as the application's Redirect URI. - Scopes. Apiome asks for view_profile only and uses it to read the name, email address and profile picture of the person signing in. Apiome reads no products, sales, subscribers or payouts and keeps no Gumroad token.
- Link first. Gumroad does not say whether the email address it shares is verified, so Apiome never uses it to find or create an account. People sign in another way, link Gumroad from Linked accounts, and can sign in with Gumroad after that. Before linking, a Gumroad sign-in 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-providerslistsgumroadas an available provider, andPUT /v1/admin/auth-providers/gumroadstores its credentials.
