ROQ supports various social sign-ins like Google, Facebook, Github, and LinkedIn. You can activate and configure them in ROQ Console and go to Authentication ➔ Social Sign-in or here (opens in a new tab).
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
In the Google OAuth setting page, you need to set these two mandatory fields:
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.
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:
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.
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.
You can see the customized registration form to check if the Google Sign-in button shows up.