Hello team,
Client has implemented Mobile SDK and they want to implement Secure Authentication Workflow for Mobile SDK and they following the this Secure Authentication Workflow for Mobile SDK | yellow.ai.
They have implemented the first step successfully, At second step they are try to hit API call to encrypt the token Api is giving response has failed.
Note : bot id: x1670904520125
For your reference this is the api curl
curl --location 'https://r0.cloud.yellow.ai/api/plugin/encryptYmAuth' \
--header 'content-type: application/json' \
--header 'x-api-key:X-API-Key' \
--data '{
"ymAuthenticationToken": "AB00584",
"botId": "x1670904520125"
}'
And need teams help to implement this at the back end
isSecuredYmAuth : true
ymAuthSessionDurationInSec : 1800 (30min default)