The authentication is enabled for my deployment ID, and it can be verified by
curl -X POST -H "Content-Type: application/json" \
-d '{
"deploymentId": "026894c0-901b-4355-9f80-a6cc1ecd70bf",
"journeyContext": {
"customer": {
"id": "a47a1770-1152-11ef-a9bb-5950e7bbf767",
"idType": "cookie"
},
"customerSession": {
"id": "a47a1770-1152-11ef-a9bb-5950e7bbf767",
"type": "web"
}
},
"oauth": {
"code": "380d0b17-3adc-4037-b3fd-1550ba0a38d3",
"redirectUri": "https://app.spotnana.com"
}
}' \
https://api.mypurecloud.de/api/v2/webdeployments/token/oauthcodegrantjwtexchange
If you use mock oauth.code, then it returns "Failed to identify user for token", which is expected. If auth is not enabled, you will see "auth not enabled" error message. But when using on production website, with genesys chat app ("https://apps.mypurecloud.de/genesys-bootstrap/genesys.min.js).
I saw no request is made to my IDP (No CloudTrail log to my IDP from Genesys), but if I run above cUrl command manually in terminal, I can see the genesys request to my IDP in CloudTrail log.
I have another deployment ID for dev, not for prod. This deployment will make a success request to my IDP, verified by AWS CloudTrail log.
So what Messenger configuration or deployment in Genesys could impact this behavior? Need some suggestion here.