===NO SECRET INFORMATION FROM PRODUCTION SHOULD BE DISCLOSED IN THIS REPO. IT IS PUBLIC====
Please make sure these boxes are checked before submitting new issue.
It will significantly speed up the issue resolving process and also make our team a little bit happier.
Thanks!
Steps to Reproduce (Repro steps)
[ ] endpoint address
[ ] preconditions if any
[ ] sequence of actions that should be taken to reproduce the behavior.
Не вдається авторизуватися на демо. Отримую ось такий респонс: {"meta":{"url":"http://api-svc.mithril/oauth/apps/authorize","type":"object","request_id":"783dfcf0-c0a1-46f2-80c8-5b90efbb9b1e#100442","code":422},"error":{"type":"request_malformed","message":"Scope is not allowed by client type.","invalid":[{"rules":[{"rule":"json"}],"entry_type":"request"}]}}
Ось сам курл curl "https://api.demo.asclepius.com.ua/oauth/apps/authorize" -H "pragma: no-cache" -H "Origin: https://auth.demo.asclepius.com.ua" -H "Accept-Encoding: gzip, deflate, br" -H "Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7" -H "Authorization: Bearer SG1La1RTT3NCenFOVFpZaWhaUnpQQT09" -H "content-type: application/json" -H "Accept: /" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36" -H "cache-control: no-cache" -H "Referer: https://auth.demo.asclepius.com.ua/accept?client_id=925716c7-e257-4df7-9254-7a2e91cec741^&email=tishchenk^%^40gmail.com^&redirect_uri=https^%^3A^%^2F^%^2Fkai.ua^%^2Fuk^&scope=client^%^3Aread+division^%^3Aactivate+division^%^3Adeactivate+division^%^3Adetails+division^%^3Aread+division^%^3Awrite+drugs^%^3Aread+employee^%^3Adeactivate+employee^%^3Adetails+employee^%^3Aread+employee^%^3Awrite+employee_request^%^3Aapprove+employee_request^%^3Aread+employee_request^%^3Areject+employee_request^%^3Awrite+legal_entity^%^3Adeactivate+legal_entity^%^3Amis_verify+legal_entity^%^3Anhs_verify+legal_entity^%^3Aread+legal_entity^%^3Awrite+person^%^3Aread+secret^%^3Arefresh" -H "Connection: keep-alive" --data-binary "^{^\^"app^\^":^{^\^"client_id^\^":^\^"925716c7-e257-4df7-9254-7a2e91cec741^\^",^\^"redirect_uri^\^":^\^"https://kai.ua/uk^\^",^\^"scope^\^":^\^"client:read division:activate division:deactivate division:details division:read division:write drugs:read employee:deactivate employee:details employee:read employee:write employee_request:approve employee_request:read employee_request:reject employee_request:write legal_entity:deactivate legal_entity:mis_verify legal_entity:nhs_verify legal_entity:read legal_entity:write person:read secret:refresh^\^"^}^}" --compressed
===NO SECRET INFORMATION FROM PRODUCTION SHOULD BE DISCLOSED IN THIS REPO. IT IS PUBLIC====
Please make sure these boxes are checked before submitting new issue. It will significantly speed up the issue resolving process and also make our team a little bit happier. Thanks!
Steps to Reproduce (Repro steps)
Actual result
Expected result