Skip to main content

Practitioner - Login

POST /auth/tenant/Practitioner/login/start
devhttps://api.sandbox.ovok.com

Login with email and password. Response either contains challange or MFA challenge - which is followed up by challenge as a second step as well.

Request body

Content-Type: application/json

  • email: string (required)
  • password: string (required)
  • codeChallenge: string (required) — A randomly generated text that is sent from client application, the client application should generate it using the codeVerifier from the challange

Responses

CodeDescription
200Success.
400The request could not be operated by the server.
401The resource owner or authorization server denied the request.
404The requested resource could not be found.
422The request could not be validated by the server.
500The server encountered an unexpected condition. Please try again later.

200StartPractitionerLoginResponseDto (application/json)

Example

{
"nextStep": "token",
"sessionCode": "4YQWUb224nntjcKgLjMO3u9qcqP9iyPe",
"tenantCode": "big-health-company"
}