Diaspora Single Sign On (SSO) for Your Application miniOrange provides a ready to use Single Sign On (SSO)solution for your application. This solution
ensures that you are ready to roll out secure access to your application using Diaspora account within
minutes. You just need to follow the few steps given below : Firstly you need to configure miniOrange
as Service Provider (SP) in Diaspora , then configure Diaspora as OAuth 2.0 Provider in miniOrange &
finally configure your application in miniOrange Plugin. By Performing the steps you will configure
Single Sign On(SSO)to your application using Diaspora credentials.
Step 1: Configure miniOrange as Service Provider (SP) in Diaspora
- To create a Client in Diaspora, you need to make an API call.
- You need API testing tool to make an API call. You can use Postman, you can download it from here.
- Install and open the Postman application. Skip the Sign in part. You'll be presented with the following screen. Click on Create a request.
- Now, change the request type to POST by clicking on drop-down besides the URL field. Enter the following URL in the URL field.
- To get the Redirect URL:
- Go to miniOrange Admin Console.
- From the left navigation bar select Identity Provider.
- Copy the Callback URL as Redirect URL required for next step.
https://<your-diaspora-domain>/api/openid_connect/clients
- Enter the following key-value pairs under the Params menu and click on Send.
KEY |
VALUE |
redirect_uris[] |
Redirect/Callback URL from above step |
client_name |
Your application name |
- Scroll down to find the response under the Body section. Copy the Client ID and Client Secret and save it in your miniOrange Client plugin configuration.
- You have successfully completed your Diaspora OpenID configuration.
Step 2: Configure Diaspora as OAuth 2.0 Provider in miniOrange.
- Go to miniOrange Admin Console.
- From the left navigation bar select Identity Provider. Select Oauth
- Enter the following values.
IdP Name |
Custom Provider |
IdP Display Name |
Choose appropriate Name |
OAuth Authorize Endpoint |
https://<your-diaspora-domain>/api/openid_connect/authorizations/new |
OAuth Access Token Endpoint |
https://<your-diaspora-domain>/api/openid_connect/access_tokens |
Client ID |
From step 1 |
Client secret |
From step 1 |
Scope |
openid |
Step 3: Configure your application in miniOrange
- With us, You can configure application according to the the protocol it supports like SAML, OAuth, JWT, Ws-fed etc.
- For example lets say the application supports SAML. Then go with the configurations Shown in SAML Application Tab.
- Login to miniOrange Admin Console.
- Go to Apps >> Manage Apps. Click on Configure Apps button.
- Then click on Create App under SAML.
- Search for you Application. In case you do not find your app, search for Custom SAML App.
- Get the ACS URL and SP Entity ID from your application.
- Enter the following values OR click on Import SP Metadata:
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 |
Response Signed |
Unchecked |
Assertion Signed |
Checked |
Encrypted Assertion |
Unchecked |
Group policy |
Default |
Login Method |
Password |
- Click on Save to configure Your applcation.
- Now to get the IDP metadata of the app configured, Go to apps >> your_app >> select >> metadata tab.
- Click on the Show Metadata details in the Information required to Authenticate via External IDPs section. Download the metadata XML file by clicking on Download Metadata button or copy the Metadata URL link.
- You need to Upload this metadata in your application.
Step 4: Login using IDP selection page (Optional)
- You can configure multiple IDPs (identity providers) and give users the option to select the IDP of their choice to authenticate with.
For Example - It could be multiple AD domains belonging to different departments or multiple okta organizations.
Few usecases where customers configure multiple IDPs -
- Suppose you have a product which many of your clients use and each client has their own unique IDP so you want them to SSO into your product as well using their existing IDP only. miniOrange provides a centralized way to connect with all IDPs in a very easy manner and integrate SSO into your application.
- Suppose you are providing a course to many universities, each having a unique IDP like Shibboleth, ADFS, CAS, etc. You can provide single sign-on (SSO) into your course application to all these universities by integrating with all of them using a single platform provided by miniOrange.
- This is the endpoint to call from your saml application -
For Cloud IDP - |
https://login.xecurify.com/moas/discovery?customerId=<customer_id> |
For On-Premise IDP - |
https://yourdomain.com/discovery?customerId=<customer_id> |
- You should copy the Customer Key from admin console-> Settings -> and replace it with <customer_id> here. Once configured in SP, when you initiate the login from Service Provider. A user will be redirected to IDP Selection Page listing all IDPs configured for that account.
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.
- You can also change the look and feel of this page. Login to miniOrange Admin console. Navigate to Customization -> Branding Configuration. See the below screenshot for reference-
- You can customize the title of this page.
- You can change the logo and favicon for this page.
- You can change the background and button color for this page from admin UI.
×