Development Guides

Generating an Eclipse Token

Purpose: This article will provide details and steps authenticating to the Eclipse platform.

Simple Use Case: Authenticating to the Eclipse platform with the user ID from the Orion Connect application and respective user details from Eclipse. 

 Scope and Outputs: Allows access the Eclipse environment including the Eclipse APIs.

 Process Overview:

  1. Authenticate to Orion Connect and collect a token.
  2. Use Orion Connect token to acquire an Eclipse token.

 Process Steps:

  1. Retrieve Orion token based on preferred authentication method.  See article for Basic SAML or Oauth authentication methods.
  2. With the Orion token as the payload, call the GET https://api.orioneclipse.com/v1/admin/token

GET /v1/admin/token

Payload {“authorization: Session –orionTokenHere–}

Have multiple databases? You’ll need to make an additional call to identify the Eclipse database:

POST: ‘https://api.orioneclipse.com/v1/admin/token/firm’
HEADER:’Authorization: Session <eclipse_access_token>

BODY: {“firmId”:<firm_id>}      

ex. {“firmId”:1000}

Process Tips : For additional documentation, refer to the Eclipse API swagger LINK