Skip to content

Set Up

VersionMin runtime versionCompatible Java versionsDescription
1.0.64.6.XJava 17, Java 11, Java 8Issue #21
1.0.54.6.XJava 17, Java 11, Java 8Issue #18
1.0.44.6.XJava 17, Java 11, Java 8Issue #15
1.0.34.6.XJava 17, Java 11, Java 8Java 17 support
1.0.24.6.XJava 11, Java 8Proxy support
Bug Fix - Action and Version drop-downs load all
1.0.14.6.XJava 11, Java 8Deprecated Utils PDFBox
1.0.04.6.xJava 11, Java 8Launch
Maven Central

Serving Open Source Components Since 2002 The Central Repository is the largest collection of Java and other open source components. It provides the easiest way to access and distribute your software components to millions of developers.

Step1: Maven Central Repository

PREFERRED METHOD TO ADD DEPENDENCY IS TO USE Add Custom Modules to Your Project

Add Custom Modules

(not preferred method use ABOVE) Edit Project File pom.xml

The MuleSoft Forge connectors are constantly updated, and the version is regularly changed. Make sure to replace {version} with the latest release from Maven Central.

Copy and paste the following Maven Dependency into your Mule application pom file.

xml
<dependency>
    <groupId>io.github.mulesoft-forge</groupId>
    <artifactId>mule-idp-connector</artifactId>
    <version>{version}</version>
    <classifier>mule-plugin</classifier>
</dependency>

See Anypoint Code Builder Example: Note xml <dependencies> tags if not present.

Code Builder POM Example

Step2: Access Management

To access the following operations:

  1. Service IDP - Execution - Submit
  2. Service IDP - Execution Result - Retrieve

Create a Connected App with the following details:

  • Type: App acts on its own behalf (client credentials)
  • Scopes: Execute Published Actions

After you create the connected app, copy its ID and Secret for Connector Configuration.


To access platform API you need to supply Anypoint User Account details with the following User details:

  • Multi-factor auth: Exempted

MFA Exemption

  • Permissions: Document Actions - Manage Actions

Document Actions Permission

Learn API first at speed outside of MuleSoft - Postman Postman icon

If you are unfamiliar with the underlying API to a connector and not sure you have permissions right please fight those issues in Postman/SoapUI first.

Here is a complete Postman Collection:

Download Postman Collection

Step4: Connector Configuration

1

Create Global Element Connector Configuration

Choose Global Type, restricting on "idp"

Choose Global Type

2

Default Config Settings

MuleSoft IDP Config default settings are as follows:

Default Config Settings

3

Enter your Settings

Tip - Enter OAuth first as the configuration UI validates that first! Validation tip

1

Test Connection

== Anypoint Code Builder

1

Create Global Element Connector Configuration

Currently ACB does not have a dedicated Global Configuration Elements UI, so create the configuration as part of the configuration of the first IDP Operation configuration of the project

ACB Global Config

2

Enter your Settings

ACB OAuth

  • Client id: ID of the connected app to call IDP

  • Client secret: Secret of the connected app to call IDP

  • Token url: URL to obtain the access token for your connected app

    Default: https://anypoint.mulesoft.com/accounts/api/v2/oauth2/token

  • Scopes: Leave Empty

ACB OAuth Config

Example Completed Region:

ACB OAuth Completed

3

Test Connection

ACB Test Connection

:::

Released under the MIT License.