ZEIT Addon: Connect With GitHub
This ZEIT addon connects with a GitHub account and shows details of the connected user.
Install NPM dependencies with:
Then run this UiHook locally with:
now dev -p 5005
Then create a ZEIT integration and set the UiHook URI to:
Deploy to Production
This is the URL of the app once you deployed into production. This is an alias you get when you deploy your app with
Set that as the
ROOT_URL env variable in your
Create a GitHub OAuth app
First of all, create a GitHub OAuth app and get the client id and client secret. Then add these to the related environment variables defined in your
While creating your app, GitHub asks for a callback URL. For that, add the following url:
ROOT_URL is the URL you defined in your
Deploy this UiHook to production with:
Then use the alias of your deployment as the new UiHook URI of your addon.