To configure Google Workspace (formerly known as G Suite) as the authorization server,
Log in to console.developers.google.com.
In the dashboard, click Select a project in the header.


In the Project configuration page, enter the App name and User support email of ServiceDesk Plus. Click Next.

Under Audience, select the user type and click Next.

Enter your Contact Information to get notified about any changes within the project. Click Next.

Under Finish, agree to the terms and conditions and click Continue.

In the left panel, click Clients > Create OAuth client to register ServiceDesk Plus as the OAuth Client and generate Client ID.

Select the Application type as Web application.
Enter the Application name (ServiceDesk Plus) and Authorized redirect URI. You can find the Redirect URI under OAuth Feature Details in the OAuth configuration form.

After you create the OAuth Client, click Download JSON in the pop-up and click OK. This JSON file will contain the Client ID, Client Secret, Authorization URL, and Token URL required for OAuth configuration in ServiceDesk Plus.

You can also copy/download the client secret from the right panel.

You have now configured Google Workspace as the authorization server for your ServiceDesk Plus.
To retrieve the user's data from the resource server by using these scopes, use the Resource URL: https://openidconnect.googleapis.com/v1/userinfo
The sample response received from the Resource URL is given below.
{
"sub": "104949255016192133544",
"email_verified": true,
"name": "John Doe",
"given_name": "John",
"family_name": "Doe",
"picture": "https://lh3.googleusercontent.com/a/ACg8oc...",
"email": "john.d@zylker.com"
}Refer here to know more about obtaining user information via Google OpenID Connect.