DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Last call! Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • Using OKTA as Client Provider in Mulesoft
  • MuleSoft Operational and API Management Capabilities
  • Implementing One and Two Way SSL (Mutual Authentication) for MuleSoft Application
  • OWASP TOP 10 API Security Part 2 (Broken Object Level Authorization)

Trending

  • Automating Data Pipelines: Generating PySpark and SQL Jobs With LLMs in Cloudera
  • Measuring the Impact of AI on Software Engineering Productivity
  • Beyond ChatGPT, AI Reasoning 2.0: Engineering AI Models With Human-Like Reasoning
  • Mastering Advanced Traffic Management in Multi-Cloud Kubernetes: Scaling With Multiple Istio Ingress Gateways
  1. DZone
  2. Software Design and Architecture
  3. Integration
  4. Mulesoft Anypoint Platform SSO Implementation (Auth0)

Mulesoft Anypoint Platform SSO Implementation (Auth0)

Mulesoft Anypoint platform SSO configuration. Log in through Social media, Database, Active directory or Auth0 user, etc.

By 
Mukesh Thakur user avatar
Mukesh Thakur
DZone Core CORE ·
Oct. 19, 20 · Tutorial
Likes (5)
Comment
Save
Tweet
Share
11.4K Views

Join the DZone community and get the full member experience.

Join For Free

Identity Management: Anypoint Platform

You can configure identity management in the Anypoint Platform to set up users for single sign-on (SSO). There are two ways to configure identity management using one of the following single sign-on standards:

  • OpenID Connect: End-user identity verification by an authorization server including SSO

  • SAML 2.0: Web-based authorization including cross-domain SSO

Here we can use OpenID Connect to connect IDP provider(Auth0). Through Auth0 we can log in to Anypoint platform using user created in Auth0, simple database, Active Directory, or any social media like Google, Facebook, and Linkedin, etc. 

End of this exercise you will be able to login to the Anypoint platform using the Auth0 credential and Gmail account.

Identity Management Process

Auth0

Identity Provider (Auth0)

An identity provider is a system entity that creates, maintains, and manages identity information for principals. It offers user authentication as a service. Relying party applications, such as web applications, outsource the user authentication step to a trusted identity provider.

Auth0 is a flexible, drop-in solution to add authentication and authorization services to your applications. You can connect any application (written in any language or on any stack) to Auth0 and define the identity providers that you want to use (how do you want your users to log in to the system)to log in. 

Identity Provider Configuration

  • Login into the Anypoint platform and click on access manager
  • Click Identity provide from Access management
  • Click Identity Providers
  • Click Identity Providers  and  select OpenID connect
  • Click Ok

OpenID

Copy redirect URI from Identity Client Registration

anypoint

e.g. : https://anypoint.mulesoft.com/accounts/login/mytech-0/redirect

Note  mytech-0 is Organization domain above URL will be configured in Auth0 as Callback URLs.

Create Application in Auth0

Create new application SSO-Mule then select Machine to Machine applications and click  Create  

create application

  Select API from the drop (you can select default if not created new )and scope and click Authorize 

authorize

Select created application and update the details 

Add login URL: This URI needs to point to a route in your application that should redirect to your tenant’s 

Add Logout URL: A set of URLs that are valid to redirect to after logout from Auth0 

Add callback URL: After the user authenticates that will only call back to these URLs  

Note: https://anypoint.mulesoft.com/accounts/login/<organization doain>/redirect) received from previous steps

Click show Advanced settings > Grant Types: check Authorization Code

Click save changes

Copy Client ID, Client Secret, OAuth Authorization URL, and OAuth Token URL to configure Identity Providers in the Anypoint platform

SSO Mule

 Configure all attributes as per copied in previous steps or configured in Auth0.

identity provider

Click Save.

Create a Connection in Auth0 against that user get validated.

connectionsTest SSO

Click login URL: https://anypoint.mulesoft.com/accounts/login/mytech-0/

SSO-Mule

or

SSO-Mule

Provide user name and password created in AuthO or click on Sign In with Google.

After successful login, you will be redirected to the Anypoint platform page.

design center

Note: Group and Role you can manage through mapping Role management IDP and Anypoint platform. 

application authentication Implementation MuleSoft

Opinions expressed by DZone contributors are their own.

Related

  • Using OKTA as Client Provider in Mulesoft
  • MuleSoft Operational and API Management Capabilities
  • Implementing One and Two Way SSL (Mutual Authentication) for MuleSoft Application
  • OWASP TOP 10 API Security Part 2 (Broken Object Level Authorization)

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!