SMART App Launch

Choose the profile of a SMART sign-in

  • Sandbox: available
  • On your own host? Choose https://{host} in the playground.
POST
/v1/smart/sign-in/profile

Chooses which of the user's profiles a SMART sign-in uses, when its step is profile, and answers the next step.

Behaviour

  • membership must be one of the profiles the previous step listed.
  • A Patient profile goes to done; any other picks a patient next.

Request Body

application/json
  1. body
session*string

The sign-in handle the previous step answered.

Length32 <= length <= 64
membership*string

The chosen profile’s membership.

Match^[A-Za-z0-9-]{1,64}$

Response Body

The next step.

application/json
  1. response
next*string

What the page asks for next, or done.

Value in"mfa""profile""patient""done"
session*string

The handle for the next step; null when done.

profiles*array<>

The profiles to choose from, when next is profile.

redirect*string

Where to send the browser when next is done: the app's redirect URI with code and state.

Example Request
curl -X POST 'https://api.sandbox.ovok.com/v1/smart/sign-in/profile' \  -H 'Content-Type: application/json' \  -d '{  "session": "stringstringstringstringstringst",  "membership": "string"}'
Example Response
{  "next": "mfa",  "session": "string",  "profiles": [    {      "membership": "string",      "resourceType": "string",      "name": "string",      "project": "string"    }  ],  "redirect": "string"}