Validic
  • Solutions
    • Inform: Data Connectivity Platform
    • Impact: Remote Monitoring Platform
    • Logistics & Support
    • Mobile Solutions & HealthBridge
  • Industries
    • Hospitals & Health Systems
    • Healthcare IT Companies
    • Wellness Companies
    • Pharmaceutical Companies & CROs
    • Payers & Insurers
    • Device Manufacturers & App Developers
  • Ecosystem
  • Resources
    • Blog
    • Learning Center
  • Contact
Select Page

Overview

Mar 20, 2015

Overview

Implementing Validic Connect with your Application

At the end of the implementation process, your application will appear in our Validic App Marketplace and your users will be able to authorize their data to be shared with our growing list of health and wellness customers.

Important Concepts Before you Begin your Integration

Once you have your Organization Credentials, we recommend reviewing our Enterprise API Documentation to understand the basic concepts of Validic Organizations, User Provisioning and the Validic App Marketplace. You may also want to review the documentation in the Objects section for reference on how to send your users’ health data to Validic.

Step 1: Apply for Validic Connect Credentials

In order to get started with Validic Connect, you’ll need to Apply for API Credentials. Once registered, you will receive the following back from us:

  1. Partner Organization ID
  2. Partner Organization Access Token
  3. Consumer Testing credentials (including consumer organization ID, consumer organization access token and user access token)

Note: Soon after being registered and receiving these from Validic, you should submit to us a Notification URL (see Receiving Sync Notifications and Receiving Disconnect Notifications below).

Step 2: Setup User Authentication

The Authentication process verifies that a user intending to share their data from your application is in fact the owner of that data. Following standard OAuth implementation, you’ll need to create a separate authentication page (different than your usual log in area) where users can verify their identity and subsequently authorize their data to be shared. Once your user is successfully authenticated in your application, you’ll need to send us a unqiue identifier to associate your user with a user in Validic Connect.

Determine a UID for Your Users

Determining your user’s unique identifier (uid) to send to Validic Connect is the first step in the user authentication and authorization process.  A user’s uid is their unique identifier in your system which you will submit to Validic during authentication. Your user’s uid should be a random string of letters and numbers, unique to each user in your application, and cannot be any kind of objectively identifiable field such as an email address, name, social security number, etc. Most partners choose their user’s standard ID. Note: if you attempt to us an email address as a uid it will result in a 422 Unprocessible Entity from Validic.

If you do not already have an acceptable unique identifier for each of your users, you may generate one for them. This can be done on the fly or in bulk depending on your preferences; however, it must be done before confirming authentication (see next section). If you choose to generate a UID on the fly, you must persist that UID as part of that user’s record in your system and check for a UID before generating a new one. This will ensure that if a user syncs a second time your system will submit the same UID to Validic. Otherwise a duplicate user will be created in Validic.

Create an Authentication Page

You will need to create an authentication page separate from your standard login area at the Authentication URL you provided. When a user intends to share their data with a “consumer” (for example a health portal or EMR system), Validic will send users to your authentication URL to verify their identity.

Sample Authentication Page URL
https://yourdomain.com/your_authentication_url

The request from Validic Connect to your Authorization URL is a 302 redirect that will include two URL parameters:

  • sync_url – where your application will send a POST request (see below) to confirm successful authentication
  • signature – url encoded signature from Validic to verify your POST request back to Validic
Example
# Example Redirect to Your Authentication Page URL
https://yourdomain.com/your_authentication_url?signature={SIGNATURE}&sync_url={VALIDIC_SYNC_PATH}

You will need to temporarily retain both parameter values to be used after user authentication..

Authenticating Users Who Want to Share Data

Once your user has successfully authenticated, you’ll need to send a POST request to the sync_url with the following parameters:

  • uid – your users uid as a string
  • signature – signature generated and given to you by Validic Connect
POST https://{sync_url}
-H 'Content-Type: application/json'
{
  "uid": "{YOUR_USERS_UID}",
  "signature": "{SIGNATURE}"
}

The POST request to the sync_url will respond with the following JSON response, provided the uid sent is unique and not an email address.

{
  "code": 201,
  "message": "Authorized",
  "user": {
    "_id": "VALIDIC_USER_ID",
    "uid": "YOUR_USER_UID",
    "access_token": "VALIDIC_USER_ACCESS_TOKEN"
},
  "application": "THIRD_PARTY_APPLICATION_NAME",
  "redirect_uri": "VALIDIC_REDIRECT_URI"
}

A successful authentication confirmation will receive a 201 response which includes your user’s information in Validic, a redirect_uri, and the third-party application’s name. For those familiar with Validic’s User Provisioning process, this request has provisioned a user in Validic with the uid you send in the POST request. Your application should store the Validic user _id, in addition to the Validic user access_token as attributes of your user that has just authenticated. You may also store the “consumer” application name should you choose to display this as part of “consumer” applications your user has authenticated.

Redirecting the User

Once you’ve saved the _id and access_token from the Sync URL POST response, you should redirect the user to the redirect_uri given in the response. At this point, your interaction with the user who would like to share their data is complete. Validic will display a final authorization confirmation page to the user and upon this final confirmation by the user, the third party application will then be able to receive your user’s data.

Step 3: Submitting your App to the Validic Marketplace

Upon completion of your application and once you decide that it is ready for release, you must then apply for Application Approval with Validic. To do so, please contact partner-support@validic.com with the name of your application. Once approved, your app will be available to our customers as an official part of the Validic Marketplace.

Apply to Validic Connect

[gravityform id=”3″ name=”Apply to Connect” title=”false” description=”false”]

View More >

Recent Posts

  • Converting Patient Insight into Action: Exploring New Connections in Patient Data
  • Remote Patient Monitoring Has Failed — Now What?
  • Reducing Long Wait Times for Provider Care
  • Activating Technology as a “Force Multiplier” that Reduces Clinical Burden
  • Personalized care company Validic acquires Trapollo

Archives

  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • October 2021
  • July 2021
  • June 2021
  • April 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • March 2017
  • February 2017
  • January 2017
  • June 2016
  • January 2016
  • September 2015
  • August 2015
  • July 2015

Categories

News
Events
Awards

About

  • Blog
  • Company
  • How It Works
  • Careers

Developers

  • Inform Platform Documentation
  • Legacy Platform Documentation
  • Connect API Documentation
  • Mobile Documentation

Legal

  • Data Security Policy
  • Service Level Agreement
  • Support Policy
  • Privacy Policy
  • Terms and Conditions

Contact Us

  • Request to Become a Client
Validic

Validic Inc. is a digital health and personalized care company devoted to our mission of improving the quality of human life by making personal data actionable. With the world’s largest health IoT platform and EHR-embedded remote care application, we help healthcare organizations give every person tailored interventions and personalized care, improving healthcare efficiency and delivery, and empowering people to play an active role in their health and well-being.

Validic Twitter Validic LinkedIn

hello@validic.com
1-800-495-7934

701 W Main St, Suite 620
Durham, NC 27701

This website uses cookies to improve your user experience. By using our website, you consent to all cookies in accordance with our Privacy Policy.AcceptPrivacy policy