webhook to process memberful events and manage github organization membership.
MEMBERFUL_WEBHOOK_TOKEN
: an api token sent from memberful to the webhook (add?token=<MEMBERFUL_WEBHOOK_TOKEN>
to the webhook URL)MEMBERFUL_API_TOKEN
: the api token used to request information from memberful (set up in integrations/custom applications)MEMBERFUL_SUBDOMAIN
: the subdomain component of your memberful siteGITHUB_TOKEN
: github api tokenTEAM_ID
: github team id. new members will be added to this teamORG_NAME
: github org name. members will be removed from the org completely when their subscription deactivates
memberful passes a Secret
to the webhook, so I don't need the hard coded token
param in the webhook URL.