Github OAuth

To enable Github as a Auth provider you must first create an OAuth App in Github. On Github, go to Settings > Developer settings > OAuth apps and click New OAuth App.

Create Github OAuth App

Set a name, a homepage URL and the Authorization callback URL. The Authorization callback URL you should use is inside the Nhost console under Settings > Sign-methods > Github (see last image).

Create Github OAuth App

The Github OAuth app is now created. Finally create a Client Secret. Copy both Client ID and Client Secret and insert them in the Nhost console and click Save.

Create Github OAuth App
Create Github OAuth App

Your app is now configured with Github and users can now register and sign in with Github.

To register users, simply direct them to


<a href="">
  Sign in with Github