How to integrate Instagram SSO in the GAS

Configuration for an application you want to get authenticated via Instagram.

About this task:

Instagram SSO requires OAuth authenticaiton. In the DELEGATE element of your application configuration specify the OAUTH parameter.

  1. Run the ImportOAuth program to import the Instagram endpoints.
    Note: This is a once-off operation to import the endpoints. Once the endpoints are registered in the database, you can continue to configure your applications for Instagram. For more information, see The ImportOAuth program.
    In the following example line breaks are added for readability.
    fglrun ImportOAuth --import 
  2. In the application configuration file add an OAUTH parameter in the DELEGATE element.
        <DELEGATE service="services/OpenIDConnectServiceProvider">
          <SCOPE>depends on the IdP</SCOPE>
          <CLIENT_PUBLIC_ID>PUBLIC_ID registered on Instagram developer console</CLIENT_PUBLIC_ID>
          <CLIENT_SECRET_ID>SECRET_ID registered on Instagram developer console</CLIENT_SECRET_ID>
    • The OAUTH parameter specifies the Instagram URL.
    • The CLIENT_PUBLIC_ID and CLIENT_SECRET_ID are tokens obtained when registering your GAS for Instagram Single Sign-On.