Software AG Products 10.7 | Administering API Portal | Configuring API Portal | Configuring User Registration | User Registration in API Portal with Social Login | Configuring Google Login
 
Configuring Google Login
To enable users to log in to the portal through Google, you must first create a Google app and then configure API Portal to access Google account information to authenticate users.
Note:
If you do not already have a Google account, you have to create one. For complete information about Google sign-in, see the documentation available on developers.google.com.
*To use Google for user registration and log in
1. Log in to developers.google.com and create an app for API Portal registration.
a. Go to the Google Developer Documentation.
b. Log in using your Google account credentials.
c. Click Create Project. Provide the project name and project id, and then click Create.
d. Click on the link for your project. In the left side navigation, go to APIs & auth > Credentials, and then click Create new Client ID.
e. Select the application type Web application. The warning says that a product name needs to be set. Click Configure consent screen and set the product name.
f. At the Create Client ID screen, the application requires that the domain be public. Provide the URL and the relevant port of your website in the Authorized Javascript Origins field, and provide the redirect URL and the relevant port in the Authorized Redirect URLs field. The URLs must be HTTPS. Click Create Client ID.
g. In the left side navigation, go to APIs & auth > Credentials. You see the client id and client secret on the right.
h. Note the client key and the client secret from the Google app, because you require it in the next step.
i. In the left side navigation, go to APIs & auth > APIs. Search for Google+ API and enable it. It is available in the Enabled APIs section.
2. Log in to UMC as Administrator, and configure the OAuth settings for the Google app as described in OAuth Properties for Social Login.
3. If you have not already done so, choose the level of approval needed, as described in Configuring User Registration.