Social Sign-Ins

Social Sign-ins


ROQ supports various social sign-ins like Google, Facebook, Github, and LinkedIn. You can activate and configure them in ROQ Console and go to AuthenticationSocial Sign-in or here (opens in a new tab).

Social Sign-ins


ROQ Social Sign-in

To enable Google OAuth login, follow this documentation (opens in a new tab). For most social sign-ins, you need to set up these two credentials on ROQ Console:

  • Client ID: Client ID for Web application

  • Client Secret: Client Secret for Web application

Google sign-in setup

Google OAuth

In the Google OAuth setting page, you need to set these two mandatory fields:

Authorized Redirect URIs

Users will be redirected to this path after they have authenticated with Google. Fill this with Auth Redirect URI from the ROQ Social Sign-in page.

Authorized JavaScript Origins

The HTTP origins that host your web application. This value can't contain wildcards or paths. The value must be the authentication hostname of the environment:


That is:

The settings for both options are displayed in the screenshot below.


Once activated, Google Sign-in can be used as a registration or login option. The next step is add this Google Sign-in into the registration form.

How to Add Social Sign-in

Before adding social sign-ins to the registration or login form, make sure to activate and configure them. For example, for Google OAuth, you can check out the previous documentation section.

To add Google Sign-In to the login form, enable it, and don't forget to click the Save button to save the settings.

Add social sign-in registration login

You can see the customized registration form to check if the Google Sign-in button shows up.