The GitHub auth provides a convenient way for users to authenticate and log in to your application using their GitHub accounts.


Before getting started with this section, ensure you have:

  1. Completed all steps in the Firebase Setup section for your project.

  2. Completed Initial setup required for authentication. (Please note: Skip if you have already enabled authentication and created 'users' collection while creating your project with Firebase Setup.)

Adding GitHub auth

Adding GitHub auth comprises of following steps:

1. Enabling GitHub authentication in Firebase

To enable GitHub authentication in the Firebase:

  1. Select the Sign-in method tab, and select GitHub. If you have already added another provider, click on the Add new provider, select GitHub, and Enable it.

  2. To get the Client ID and Client Secret, register your app as a developer application on GitHub, and while doing so, paste the authorization callback URL to your GitHub app configuration.

  3. Click Save.

  1. To test the app in Run Mode, add our domain to Authorized domains.

2. Adding GitHub login action

Follow the steps below to add GitHub login action:

  1. Select the widget (e.g., Button) on which you want to add the action.

  2. Select Actions from the properties panel (the right menu), If it's the first action, click + Add Action button. Otherwise, click the "+" button below the previous action tile (inside Action Flow Editor) and select Add Action.

  3. Search and select the Login (under Backend/Database > Firebase Authentication) action.

  4. Set Auth Provider to GitHub.

Last updated