Legacy Dev Forum Posts

 View Only

Sign Up

For authenticated messaging, where to find out POST /oauth/userinfo data

  • 1.  For authenticated messaging, where to find out POST /oauth/userinfo data

    Posted 06-05-2025 18:37

    shenxin | 2024-01-22 02:49:37 UTC | #1

    I configured Genesys chat in the its dashboard and successfully exchanged auth code to access token. Then the chat window launched successfully.

    From my AWS cloud trail log (API access log), I can see Genesys make a good request to my AWS Cognito identity server for userinfo, e.g.: POST /oauth/userinfo

    My question is where in Genesys dashboard or other places, I can find the userinfo that Genesys API obtained from my identity server? I need the email address from this userinfo. Thanks!


    vpirat | 2024-01-22 09:45:58 UTC | #2

    Hi,

    Make sure that you include the 'email' scope when sending the /authorize request to the authentication server. WebMessaging currently supports 3 claims: given_name, family_name and email as listed in this doc. If email scope is set, email address should be available in variable Message.Message.senderAddressInfo.email as described here.

    Hope this helps,

    Regards, V.P.


    shenxin | 2024-01-22 23:14:52 UTC | #3

    Thank you, V.P.!


    system | 2024-02-21 23:15:04 UTC | #4

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 24218