ehealth-ua / api-spec

Apache License 2.0
30 stars 24 forks source link

Declaration sign (token.consumer_id) #336

Closed superjonh closed 6 years ago

superjonh commented 6 years ago

Доброго дня, при підписанні декларації повертає наступну помилку, в лікаря серія та номер паспорту в полі tax_id.

Patch request to https://api.ehealth-ukraine.org/api/declaration_requests/{declaration_request_guid}/actions/sign

Actual result

Expected result

More request data can sent private.

svetavedmed commented 6 years ago

error "Does not match the signer drfo" mean that person who is logged in to the system and is trying signing declaration_request and the person whose digital signature is used are two different persons.

superjonh commented 6 years ago

@svetavedmed дякую зрозуміло, перевірю запит

superjonh commented 6 years ago

@svetavedmed перевірив токен запиту він власне відноситься до того лікаря і ЕЦП також виглядає відповідний, чи потрібні ще додаткові логи бо помилку вертає таку саму?