Signup with GitHub

Add GitHub as Auth Provider

a) Go to your Selfbits BaaS dashboard and select your project. Then go to Authentication > Auth Provider

b) Add Github as an Authentication provider at OAuthM Providers by clicking on Activate in the line of Github

c) Go to the list of active providers by selecting the Active tab. Click on Configure for the entry Github. Copy the Redirect URI to your clipboard

Create a new GitHub OAuth application

a) Go to Github and create a new application b) Enter an application name, URL, description of your choice. Enter the Redirect URI you copied earlier as Authorization callback URL. Click Update Application.

c) You should see the Client Id and Client Secret. You'll need both in the next step.

Add credentials to Selfbits

a) Go to your Selfbits BaaS dashboard and select your project. Then go to Authentication > Auth Provider

b) Head to Active > Github > Configure, insert the Github Client Id and Client Secret and click on Save

Connection Test - Preparation

  • skip this and go to '5. Connection Test' if this is your first connection test of an auth provider at Selfbits

Attention: If you want to test registration with different OAuth Providers , please remember that our database uses the email-address of your OAuth Provider as primary key. That means you can register only with OAuth Providers with different account email addresses. But its possible to map them later in the app. If you want to test registration with different OAuth providers with the same email here in the live demo, you have to delete the user with this email address

a) Go to your Selfbits BaaS dashboard and select your project. Then go to Authentication > User.

b) Delete the user with the same email-address as your Github-Account.

Connection Test

a) Go to your Selfbits BaaS dashboard and select your project. Then go to Templates

b) Click in the Livedemo on the Github Logo. If you will be redirected to the Dashboard of the "Live Demo" the connection was successfully.

c) Go to your Selfbits BaaS dashboard and select your project. And go to Authentication > User. You should now find there your github user you registered to Selfbits.


Authentication with GitHub is now set up for your project. You can trigger authentication from the SDK or one of our starter apps.

For further information regarding Github OAuth APIs visit the Github developer page