Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Where can I find the credentials I will have to use?

When registering your application on Maestranomaestrano.com, as an application provider, you will be given an access to Maestrano App Provider Dashboard. The technical aspects of the integration can be found in your API portal on Maestrano where the credentials of your application can be found. Simply navigate to the Maestrano dashboard page and click on the API tab.You (API tab in the menu). From there, you will be able to: find your application credentials, fetch or update your metadata endpoint, and launch sandboxes of your app in one of your maestrano organizations.

Table of Contents

1 Where can I find the credentials I will have to use?

In your API portal, you will find the Production application credentials (to be used once the application goes live) and the Sandbox credentials (to be used during the integration phase) which can be configured with different endpoints, and for all non-production environment). Several Sandbox environments can be set up (with different credentials for every sandbox) if you need to manage several test environments; just ask our team if your need more sandboxes.

 

Image Removed

 

How to link my application to Maestrano.com?

Your application configuration must be exposed via the metadata endpoint. This defines the endpoints to use during the SSO process as well as the endpoint for the webhooks for the data-sharing.

To link your application to maestrano.com, put your metadata URL in the appropriate section and click on Update/Fetch

Image Added

2 How does the metadata endpoint work?

In order to understand your application and configure webhooks properly, Maestrano expects you to create a special "metadata" endpoint exposing the configuration of your application preferences in terms of Single Sign-On, data sharing subscriptions, webhooks etc.

Info
titleWhy a metadata endpoint?
We believe that this kind of configuration manifest should belong to your application which is why we ask for a special endpoint on your side.  The other approach would be to make you fill a long and boring form inside your App Provider dashboard on maestrano.com... but that wouldn't help you keeping your code/configuration easy to read and maintain.

 

Once setup, enter the URL of your metadata endpoint into your Maestrano App Provider dashboard then click on 'Update/Fetch'.

Image Added

3 What to include in my metadata endpoint?

The metadata endpoint should return a JSON document describing your configuration. Note that the call initiated by Maestrano to retrieve your metadata is authenticated via HTTP Basic authentication using your own API credentials (shared secret).

The main fields of your metadata for those using an SDK are:

 

FieldRequired for OpenIDRequired for SAMLChange with the tenant and the environmentDefaults fieldsDescription
environment - ---
The environment of the platform your are integrated to; accepted values:
- "test" (for the sandbox)
- "uat"
- "production"
app.hostYesYes

-

-
Your application host
api.idYesYesYes-
The id of your app
api.hostYesYesYes 
The platform host
sso.idm - --same as config.app.host
Your Identity Domain Manager
sso.init_path -Yes- 
Your application path that allows users to initiate 
the Single Sign-On handshake
sso.consume_pathYes- 
Your application path to the SAML endpoint that allows 
users to finalize SSO authentication
sso.idpYesYesYes
only if "environment" is set:
corresponding value for Maestrano tenant 
The platform host
sso.x509_fingerprint -YesYes
only if "environment" is set:
corresponding value for Maestrano tenant
 
sso.x509_certificate -YesYes
only if "environment" is set:
corresponding value for Maestrano tenant
 
connec.hostYesYesYes
only if "environment" is set:
corresponding value for Maestrano tenant
The Connec! endpoint used to fetch data from
webhook.account.group_pathYesYes  
Your application path where a notification will be posted 
when an instance of your application is deleted
webhook.account.group_users_pathYesYes  
Your application path where a notification will be posted 
when a user is removed from an instance of your application
webhook.connec.notifications_pathYesYes  
Your application path where notifications 
(created/updated entities) will be POSTed to
wenhook.connec.subscriptionsYesYes false for all entities
The list of entities (organizations, people, invoices etc.) 
for which you want to be notified upon creation/update in Connec!™

 

4 How to test my integration?

The sandbox application should be used during the integration phase. You can add the application to your dashboard easily by clicking on the Start Sandbox App button and then choosing the appropriate company.
Once added to your dashboard, you can initiate the SSO process by starting the application, clicking on the application tile.

...