To Register an MYOB Advanced Instance with Google

Note: The information in this topic is obsolete. To configure single sign-on with Google, use the OpenID Providers (SM303020) form, as described in Integrating MYOB Advanced with Open ID Identity Providers.
For your users to be able to sign in with their Google accounts, you first have to register your MYOB Advanced instance with Google and obtain OAuth 2.0 credentials. This is a necessary step in configuring single sign-on (SSO) for your MYOB Advanced instance. For more information about registering applications in Google, see Google Developers Console Help.

Before You Begin

You should have a Google account that you will use to register your MYOB Advanced instance.

Attention: This topic describes the configuration of third-party software. Please note the following:
  • The procedure below is designed for the most common usage scenarios. If you are implementing a more complicated scenario and you encounter difficulties, contact MYOB Advanced technical support.
  • The vendor of the third-party software may change the user interface and settings. Therefore, the screen elements and setting names you see may differ from the ones described in the procedure.
  • The procedure will be updated each time information is made available about new common scenarios and changes in the user interface and settings.

To Register an MYOB Advanced Instance with Google

  1. Sign in to the Google Developers Console.
  2. Optional: If you have not created any projects yet and you see the Projects page of the Google Developers Console, as shown in the screenshot below, click Create project and type the project name. Then click your project name to open the API Manager page.
    Figure 1. Active projects


  3. Optional: If you created a project previously and you see the API Manager page, go to step 4 if you want to use the previously created project.

    If you want to create a new project, select <Project name> > Manage all projects in the top right corner of the page to open the Projects page. (If needed, see the Step 2 for information on how to create a project.)

  4. On the API Manager page, configure the settings of the consent screen as follows:
    1. In the sidebar on the left, click Credentials and select the OAuth consent screen tab.
    2. Enter at least the following settings, as shown in the screenshot below:
      • Email address
      • Product name shown to users
      Figure 2. Consent screen configuration


    3. Click Save.
  5. Add credentials for the project as follows:
    1. In the sidebar on the left, click Credentials, select the Credentials tab and then navigate to Create credentials > OAuth client ID, as shown in the screenshot below.
      Figure 3. Credentials creation


    2. On the Create Client ID page, shown in the screenshot below, enter the information as follows, and then click Create:
      • Application type: Select Web application.
      • Name: Type your application name.
      • Restrictions > Authorized JavaScript origins: Type the root domain of your application site—for example, https://app.site.net.
      • Restrictions > Authorized redirect URIs: Type the redirect URL of your instance (which is the full URL of your instance with /frames/authdock.ashx appended onto the end—for example, https://app.site.net/instance_name/frames/authdock.ashx).
        Attention: The box is case-sensitive.
      Figure 4. Create Client ID page


  6. Copy the client ID and the client secret for later retrieval (see the screenshot below). You have to register these credentials in your MYOB Advanced instance.
    Figure 5. OAuth 2.0 credentials of the selected project


  7. Enable the Google+ API. Do the following:
    1. In the sidebar on the left, click Overview.
    2. On the Google APIs tab, navigate to Social APIs > Google+ API.
    3. On the Google+ API page, click Enable.
After you have registered your MYOB Advanced instance with Google and obtained OAuth 2.0 credentials, you have to enable SSO with Google in your MYOB Advanced instance using these credentials, as described in To Enable SSO with Google.