Magento API authentication is a process where users can login to their external applications and Websites using their Magento credentials.
miniOrange lets Magento to act as an IDP (Identity Provider) which allows users to achieve Single Sign-On (SSO) into multiple applications and external websites.
Users will authenticate themselves via their Magento credentials only once and they can access all the external applications.
The Magento User database is linked to miniOrange user store to provide SSO into external multiple applications. This use case can be achieved by Magento API Authentication Source plugin which provides SSO login security using API endpoints.
You can configure your Magento ( version 1.5-1.9 ) site as an Identity Provider and Single Sign-On (SSO) into any other application.
Here are the steps on how to configure Magento as IdP:
You can configure your Magento ( version 2.0 and up ) site as an Identity Provider and Single Sign-On into any other application.
Here we are the steps on how to configure Magento as IdP:
|<Your miniOrange Email>|
|Identity Link URL||https://www.miniorange.com (Optional)|
|Your Password||<Your Admin Password>|
|Service Provider Name||Choose appropriate name according to your choice|
|SP Entity ID or Issuer||Your Application Entity ID|
|ACS URL X.509 Certificate (optional)||Your Application Assertion Consumer Service URL|
|NameID Format||Select urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress|
|Client Name||Add appropriate Name|
|Redirect URL||Get the Redirect-URL from your OAuth Client|
|Descrption||Add if required|
|Policy Name||As per your Choice|
Note: Choose the Authorization Endpoint according to the identity source you configure.
In case you are setting up SSO with Mobile Applications where you can't create an endpoint for Redirect or Callback URL, use below URL.
You also have a choice to set multiple IDPS for Single Application. And there are three ways to represent them :
Note :At once you can select either of them.
Few usecases where customers configure multiple IDPs -
|For Cloud IDP -||https://login.xecurify.com/moas/discovery?customerId=<customer_id>|
|For On-Premise IDP -||https://yourdomain.com/discovery?customerId=<customer_id>|
You can see the screenshot below of the IDP Selection Page with a list of IDPs .
Note: To view the IDP in drop-down list ,go to Identity Providers tab > against your configured IDP > Select >Edit , here Enable the Show IdP to Users option.
If you have multiple IDPs and you want a certain set of users to authenticate from one IdP whereas another set of users to authenticate from another IdP, based on their email domains then you can achieve this by using the following steps:- Our domain mapping feature
For your reference , Azure AD and Okta is being used as two different IDPs and WordPress is being used as SP. Follow the guides to set up Okta and WordPress at your end.
If you have multiple IDPs (identity provider) and you want a certain application user to authenticate with one IDP and other application users with another IDP then you can achieve this by our Identity Source Feature.