Setting up OpenID Connect in MuleSoft Anypoint
MuleSoft Anypoint is a platform for complete API lifecycle management. The platform supports OpenID Connect as part of its identity management. This tutorial shows how to setup Anypoint Platform to enable authentication through OpenID Connect using the Curity Identity Server.
After logging in to the Anypoint Platform with an administrator account, click Access Management and then External Identity.
- Enable Identity Management and select OpenID Connect. Then click Edit to set it up.
- Click Use manual registration and copy the redirect URI.
- Now setup a client in the Curity Identity Server.
MuleSoft Anypoint Platform needs a client. It should be configured like this:
- Authentication method:
secret. Store the secret.
- Following scopes:
- Choose suitable authentication methods.
- Add redirect URI copied from Anypoint Platform.
More information in Code Flow tutorial.
Enter the client ID and client secret from the client configuration in the Curity Identity Server.
Then you need to enter some of the endpoints configured in the Curity Identity Server.
|Setting||Curity endpoint type||Sample (Base URL + endpoint)|
|OpenID Connect Issuer||oauth-anonymous|
|User Info URL||oauth-userinfo|
You can now start using the external identities by letting the users access Anypoint Platform via the SSO URL, for example
As an administrator, you can later assign users to roles to set up the permission you want.