Access Manager supports the different external OAuth providers for social integration. Social authentication simplifies login for end users and does not require maintaining large user stores. This authentication can be configured using the SocialAuthClass of Access Manager Identity provider. For more information see the NetIQ Access Manager documentation.
This cool solution is intended for administrators or app developers to test their applications with NAM. I will be describing how to create a sandbox application and use it with Access Manager.
How it Works:
Create an application in Instagram and configure it with Access Manager Identify provider. Access the Social class from Identity Server page, Authenticate with Instagram and access the resource protected by Access Manager.
Pre-Requisites:
You must have a developer account with Instagram
Access Manager 4.3 or earlier
Configuration:
Step 1 - Instagram Configuration to create an application
Open the NAM IDP URL in the web browser. Select the Social class from the left drop down. Select Social Authentication card.
Click on the Instagram icon. It will ask for login. Do login with valid user
Post authentication, it will ask for authorization.
Authorize the app and it will redirect back to the Access manager identity provider portal. Social Authentication contract will be marked as authenticated.
Troubleshooting:
During authentication, the following error may appear:
{"error_type": "OAuthForbiddenException", "error_message": "You are not a sandbox user of this client", "code": 403}
This is because the application is created in the sandbox and it’s not open for all the users. In this mode, only selected (invitation base) users can access. Users must be registered as developer in Instagram. By default, they will be in pending mode. You have to login into respective developer account and accept that. This looks to be limitation from Instagram.
Once the application is tested, it has to be enabled for live access. Submit the client from the permission section.