Choose the profile of a SMART sign-in
- Sandbox: available
- On your own host? Choose https://{host} in the playground.
Chooses which of the user's profiles a SMART sign-in uses, when its step is profile, and answers the next step.
Behaviour
membershipmust be one of theprofilesthe previous step listed.- A Patient profile goes to
done; any other picks a patient next.
application/json- body
session*stringThe sign-in handle the previous step answered.
32 <= length <= 64membership*stringThe chosen profile’s membership.
^[A-Za-z0-9-]{1,64}$The next step.
application/json- response
next*stringWhat the page asks for next, or done.
"mfa""profile""patient""done"session*stringThe handle for the next step; null when done.
profiles*array<>The profiles to choose from, when next is profile.
redirect*stringWhere to send the browser when next is done: the app's redirect URI with code and state.
curl -X POST 'https://api.sandbox.ovok.com/v1/smart/sign-in/profile' \ -H 'Content-Type: application/json' \ -d '{ "session": "stringstringstringstringstringst", "membership": "string"}'{ "next": "mfa", "session": "string", "profiles": [ { "membership": "string", "resourceType": "string", "name": "string", "project": "string" } ], "redirect": "string"}Verify a SMART sign-in code POST
Verifies the authenticator code of a SMART sign-in whose step is `mfa`, and answers the next step. ## Behaviour - A wrong code is 400. After 5 wrong codes the sign-in ends: start again.
Search the patients a SMART sign-in may pick POST
Lists up to 20 patients a SMART sign-in may pick, when its step is `patient`. ## Behaviour - The store answers as the chosen profile itself, so its access policy decides who is listed. - `name` matches part of the name; empty lists the first page.