Anypoint Platform Identity Management - OKTA

11.07.2018

MuleSoft Anypoin Platform™ supports identity management using external identity providers like OKTA, PingFederate and OpenAM.

This post will elaborate on the manual registration process of Identity Management on Anypoint Platform using OKTA.

To do the Manual Registration, one should have:

  1. Access permissions to create an application in OKTA
  2. Organisational administration permissions in Anypoint Platform.

Steps to create an application in OKTA

There are several types of client applications that you can create in OKTA. Choose the one supported by the client application. MuleSoft supports both OpenID Connect and SAML authentication.

Step 1: Once you log-in to OKTA, go to the applications section, click on Add Applications and choose OpenID Connect as the Sign on method.

OKTA Image 1Step 2: Once you click on Create, specify the application name and the redirect URI and save the configuration.

OKTA Image 2

Note: The Redirect URI can be found in the Anypoint Platform Identity Management page. Usually, it looks like

https://anypoint.mulesoft.com/accounts/login//redirect

Step 3: Once the application is saved, OKTA generates the Client ID and Client Secret for the newly created application.

OKTA IMage 4

Steps to configure the External Identity Management in Anypoint Platform 

Step 1: Go to the Access Management > External Identity section and select OpenID Connect as the Identity Management option.

Step 2: Choose the Manual Registration option and provide the Client ID and Client Secret (generated by OKTA).

OKTA Image 5

Step 3: Also, provide the authorization URL, Token URL, User Info URL and click Save to save the configuration.

Step 4: That’s it!!!!

How to Test

To test the sign on method in Anypoint Platform, on the browser paste the following URL:
https://anypoint.mulesoft.com/accounts/login/

It will be redirected to the Identity Provider’s login page instead of the Anypoint Platform login page.

OKTA Image 6

You will be redirected to Anypoint Platform’s home page after you successfully sign in.

OKTA Image 7

Please note, the Role Management has to be configured manually in the Anypoint Platform for the OKTA users.

 

If you would like to find out more about how API-led connectivity can help you create a a fully integrated environment, do give us a call at +44 (0)203 475 7980 or email us at marketing@whishworks.com

Other useful links:

Overview and best practices for the MUnit 2 testing framework

API Recipes with MuleSoft Anypoint Platform

Migrating DevKit Connectors to Mule 4 SDK

 

Recent Posts