1. Authentication
  • Overview
  • Application Guides
    • Frontend
      • Get Started - React App
      • Get Started - HTML and JS
      • Get Started - Angular JS
      • Get Started - Next JS App
    • Backend
      • Get Started - Node JS
      • Get Started - Golang
      • Get Started - ASP.NET
      • Get Started - JAVA
  • Dashboard
    • API Credentials
    • Organization
    • Social Login
    • Customize Email Template
    • Configure Custom Domain
    • IT Admin Portal
  • Authentication
    • Login Widget
    • Magic Link
    • Google Social Login
    • Multi-Factor Authentication
    • Single Sign-On Overview
    • Setup SSO Connection
  • Security
    • Overview
    • Authentication
      • Password Hashing and Storage
      • Multi-Factor Authentication Methods and Implementation
      • Session Management
    • Attack Protection
      • Bot Detection
      • Breached Password Detection
      • Brute Force Protection
      • Log Events
      • Secure JSON Web Tokens (JWT)
      • Secure OpenID Connect (OIDC)
      • Suspicious IP Throttling
    • Data Security
      • Data Encryption At Rest and In Transit
      • Secure Storage of Secrets (Keys, Credentials)
      • Sensitive Data Handling
    • Infrastructure
      • Security Considerations for Cloud Provider or Deployment Model
      • Threat Modeling
  • API References
    • Authentication
      • MagicLink
        • Email a Magic Link
        • Resend Email Magic Link
        • Verify Magic Link
        • Ping Status
      • Magic Auth Code
        • Email a Magic Auth Code
        • Resend Magic Auth Code
        • Verify Magic Auth Code
      • Phone Authentication
        • Send Magic Auth Code via SMS
        • Resend Magic Auth Code via SMS
        • Phone Magic Auth Verify
      • PassKey
        • Initiate Passkey Login
        • Passkey Registration Initialize
        • Finish Passkey Authentication
        • Complete Passkey Registration
        • Check User Passkey Authentication Status
        • List User PassKey Credentials
        • Update Passkey Name
        • Delete Associated Passkey
      • GET Auth Status
    • Token
      • Refresh Token
      • Access Token By Auth Code
    • Mutli-Factor Authentication (MFA)
      • MFA Access Token
      • List of Authenticators
      • MFA Enroll TOTP
      • Initiate MFA
      • QR Code Image API
      • Validate MFA Token
      • Get Backup Code
    • Role And Permission
      • List All Roles
      • List All Permission
      • Create New Role
      • Update Existing Role
      • Update Permission By Permission Id
      • Remove Organization Role By Role Id
      • Remove Organization Permission By Permission Id
    • User Management
      • List All Users
      • GET User By User Id
      • GET User by User Email Address
      • Create a User
      • Update User by User Id
      • Verify User Status By User Id
      • Delete User By User Id
      • Manage User Roles
      • GET Users Organizations
      • GET User Login Logs
    • Organization
      • Add New Organization
      • Get Organization
      • Get All Organization
      • Update Organization
      • Delete Organization
      • GET Configuration By Client Id
      • GET Configuration By Custom Domain
  1. Authentication

Google Social Login

This document guides you through setting up Google social login for your application using SSOJet. With Google social login, your users can log in using their existing Google profiles, offering a convenient and secure login experience.

Prerequisites#

An SSOJet account
A Google account

Steps#

Create a Google Cloud Project:#

Visit the Google Cloud Platform Console (https://console.cloud.google.com/).
Log in with your Google account.
Click on "Select a project" and choose "Create Project".
Enter a name for your project and click "Create".

Enable OAuth Consent Screen:#

Go to the "APIs & Services" section and select "OAuth Consent Screen".
Choose the appropriate user type and click "Create".

Configure OAuth Consent Screen:#

Fill in the required fields on the consent screen form.
Click "Save and Continue" when finished.

Create OAuth Client ID:#

Under "APIs & Services", navigate to "Credentials" and select "Create credentials".
Choose "OAuth client ID".

Configure OAuth Client ID:#

Select "Web application" as the application type.
In the "Authorized javascript origins" field, enter: https://api.ssojet.com
In the "Authorized redirect URIs" field, enter: https://api.ssojet.com/oauth/callback/oauth-**********
replace the asterisks with the actual value provided by SSOJet.
Click "Create" to generate the Client ID and Secret.

Complete SSOJet Integration:#

Log in to your SSOJet dashboard.
Navigate to the Authentication -> Google integration page.
Copy the Client ID and Secret you generated in step 5.
Paste the copied values into the corresponding fields on the Google integration page in SSOJet.
Enable the Google Social Login.
By following these steps, you will successfully integrate Google social login with your application using SSOJet.
Modified at 2024-06-18 12:29:51
Previous
Magic Link
Next
Multi-Factor Authentication
Built with