This article has been archived and is no longer maintained by ForgeRock.
You can configure the Google Apps sample using the Admin UI as follows:
- Start OpenIDM with the configuration for the google-connector sample: $ cd /path/to/openidm $ ./startup.sh -p samples/google-connector
- Navigate to the Admin UI in your browser, for example: https://localhost:8443/admin if you have performed a default installation.
- Edit the Google Apps connector within the Admin UI, providing the following details:
- Google App clientId
- Google App clientSecret
- Save the information by pressing the Update button and follow any additional instructions on the page. You will be redirected to Google's OAuth consent screen at which time you will need to select "Allow".
The sample Google Apps connector is now ready to use.
The above instructions use https://localhost:8443 by default as the domain or redirectURL for Google Apps. If you want to use a custom domain, you will need to generate an OAuth token based on a browser-based application instead of the native application.