Configure WSO2 Identity Platform as an External IdP
WSO2 Identity Platform is an identity-as-a-service (IDaaS) solution that creates seamless login experiences for your applications. It integrates with WSO2 Cloud - Integration Platform to provide API access control through API scopes, which lets you restrict API access to designated user groups. By configuring WSO2 Identity Platform as an external identity provider (IdP), you can use your WSO2 Identity Platform user stores to manage API access control effectively.
This guide walks you through the steps to set up WSO2 Identity Platform as your external IdP in WSO2 Cloud.
Prerequisites
Before you proceed, complete the following:
-
Create a WSO2 Identity Platform application. Follow the WSO2 Identity Platform guide to register a standard-based application.
-
Find the well-known URL. Go to the Info tab of your WSO2 Identity Platform application to view the endpoints, and copy the Discovery endpoint URL.
-
Find the client ID. Go to the Protocol tab of your WSO2 Identity Platform application and copy the Client ID.
Add WSO2 Identity Platform as an external IdP
-
Sign in to WSO2 Cloud.
-
In the top navigation, click your Organization.
-
In the left navigation menu under Admin, click Settings.
-
Click the Application Security tab and then click the Identity Providers tab.
-
Click + Identity Provider.
-
Click WSO2 Identity Platform.
-
In the dialog that opens, enter a name and a description for the IdP.
-
In the Well-Known URL field, paste the discovery endpoint URL you copied from your WSO2 Identity Platform application.
-
Leave the Apply to all environments checkbox selected. This allows tokens generated via this IdP to invoke APIs across all environments.
noteTo restrict token use to specific environments, clear the Apply to all environments checkbox and select the required environments from the Environments list.
-
Click Next. The server endpoints are displayed. You can use these to implement and configure authentication for your application.
-
Click Add.
You have successfully configured WSO2 Identity Platform as an external IdP in WSO2 Cloud.
What's next
- Configure Azure Active Directory for API Access Control — Configure Azure Active Directory as an external IdP to consume APIs on WSO2 Cloud