POST /oauth2/token

3 posts / 0 new
Last post
sorin.truica@itsmartsystems.eu
POST /oauth2/token

Buna Ziua,

 

Api-ul /oauth2/token nu pare sa functioneze. Am facut apelul sub forma aceasta:

curl --location --request POST 'https://api-test.cec.ro/cec/tpp/oauthais/oauth2/token' \

--header 'accept: application/json' \

--header 'content-type: application/x-www-form-urlencoded' \

--header 'x-ibm-client-id: beac9631-b344-48b6-a519-e110f6ff2ebd' \

--data-urlencode 'grant_type=authorization_code' \

--data-urlencode 'client_id=beac9631-b344-48b6-a519-e110f6ff2ebd' \

--data-urlencode 'code=AALsXmUZM60dJvH2G-qGO3xCY2WSD8bzDLHUsAtgBo20PmloAeseYdZ1q2bMyXm_UY9SPcogfv8ZjaSE2vUqY85vDhqjabE2CIZlfgRWN2vfqA' \

--data-urlencode 'redirect_uri=https://www.google.ro/' \

 

--data-urlencode 'scope=AIS'

 

Primesc: 

{

    "error""invalid_grant"
}
 
Nu este grant-ul corect? sau lipseste vreun parametru?
Multumesc!
apixs2a@equensworldline.com
Testing Sandbox

Please can somebody provide me a support email because nobady reply from the SUPPORT tab in the dev portal?

admin
Hi,

Hi,

please use c.zuvelca@ce.co or admin@cec.ro

Thank's

Log in or register to post comments