Github Invitation
Send invitation your private github repo
This module we are also using for this website, to grant the access for paid users to our private github repo.
To set up:
- The first you need to get
GITHUB_AUTH_TOKENby go toPersonal access tokens, chooseToken (classic)and click toGenerate new token (classic):

- Select
reposcopes like this:

- You will get the key with
ghp_prefix. Paste into your.envalong with therepo path(github_username/repo_name) for examplezapstackdev/NextZapStack:
- Then go to your repo webhooks settings page for example
https://github.com/zapstackdev/NextZapStack/settings/hooksto add a webhook with config like this:


If you just want to run on local development at the moment, you can use ngrok to get an external domain for webhook Payload URL config.
To use ngrok (exposing the local server to an external url), run command like this: