Enter the following details in the configuration form:
1. Instance URL: Enter the Instance URL of the System for e.g. https://www.googleapis.com
2. Application Key: Enter the Client Id received from OAuth 2.0 App Registration.
3. Application Secret: Enter the Client Secret received from OAuth 2.0 App Registration.
4. Authorization URL: Enter the Authorization URL of the System.
5. Access Token URL: Enter the Access Token URL of the System.
6. Domain for Callback Authentication: Enter HostName.DomainName of the Klera Machine.
7. Scope: Put all the required scopes(if any) separated by spaces.
8. Select "Create New Account" and add user-friendly name for the Account.
9. Click On "Save".
10. On clicking "Save", a pop-up will appear which requires user to enter the credentials for the system if asked in the pop-up.
Important:
a. The pop-up must not be blocked by the browser.
b. Klera's Callback URL:
b.1. For Klera On-Prem deployments,Klera's Callback URL must be whitelisted.
For e.g.
https://{HostName.DomainName}:48444/AccountManagementWebService/callback.html should be accessible from the browser where,
HostName: Host Name of the Klera Machine and,
DomainName: Domain Name of the organization.
b.2. For Klera SaaS offering, there is no requirement of whitelisting Klera's Callback
URL.
Below is a snapshot of OAuth 2.0 configuration for Google Analytics which uses OAuth 2.0 Authentication: