Genesys Cloud - Main

 View Only

Sign Up

  • 1.  OAuth Access (IP Address)

    Posted 5 hours ago

    Hi,

    I'm attempting to add an extra level of security by defining 'allowed IP' to our oauth clients but does anyone know if there's an API that details which IP address has used a oauth client ?

    Regards,


    #API/Integrations
    #Security

    ------------------------------
    Neil Jones
    Voice Comms Lead
    Awaze Uk
    [EmailAddress]
    ------------------------------


  • 2.  RE: OAuth Access (IP Address)

    Posted 3 hours ago

    Hi Neil,

    You may be able to use the Audit Viewer or Audit API to investigate this. The documentation notes that audit events can include the RemoteIP and the FAQ specifically mentions the AccessToken audit event as an example. 

    That said, I'm not sure whether this also applies to Client Credentials OAuth clients or whether you can query the audit logs by OAuth client to see every source IP that has used it. If anyone has validated this for Client Credentials, I'd be interested to hear how you queried it.



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------



  • 3.  RE: OAuth Access (IP Address)

    Posted an hour ago

    Thank you Phaneendra,

    An audit API worked using the below statement... the response does indeed include a remoteIP.

    post/api/v2/audits/query

    Regards,



    ------------------------------
    Neil Jones
    Voice Comms Lead
    Awaze Uk
    [EmailAddress]
    ------------------------------



  • 4.  RE: OAuth Access (IP Address)

    Posted an hour ago

    Glad to know it worked! Sometimes you never really know until you try it. 😄 Always learning something new every day!



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------