Skip to main content
Skip table of contents

Instagram Browser Extension Integration

This document explains how to implement Monosign with Instagram. It covers Single Sign-On through MonoSign Browser Extension. The browser extension is useful in case there is no other method supported by the desired application. For more information, you may check this article.

📑 Instructions

This documentation contains 4 main steps for integration.

  1. Creating an Application on Monosign

  2. Assign a user to the Instagram app

  3. Sign In Test

1- Creating an Application on Monosign

Create an Instagram application on Monosign and configure your access policy. Once you create, click the Edit button and switch to the Login tab. Select Browser as Login Method and click Show Editor to edit the authentication process.

The code below demonstrates an example of Browser Actions for signing in to Instagram.

JS
browserEvent.SignInUrl = "https://www.instagram.com/login";
browserEvent.SuccessUrl = "https://www.instagram.com/";

browserEvent.UserNameSelector = "[name='email']";
browserEvent.PasswordSelector = "[name='pass']";
browserEvent.SubmitSelector = "[type='submit']";

2- Assign a user to the Instagram app

Click the Assign a User button, and select the User intended to be able access to the application. Fill out how long the assignment is valid in the Expiration Date.

Enable Is Individual switch. Fill out the form according to the Instagram account that is desired to authenticate. The account information is necessary and will be available while editing the authentication process.

By filling out the form, the MonoSign user will be bound to the Instagram user. Whenever the user signs in to Instagram via MonoSign, the specified Instagram account will be used to complete the authentication process.

3- Sign In Test

Open the MonoSign extension on the browser and click Instagram.

The extension will redirect to the Instagram login page and perform the steps as edited in the Code Editor.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.