Open APIs

 View Only
  • 1.  Capture the Party invoking the TMF API

    TM Forum Member
    Posted 12 days ago

    Hi all:
    As part of the traceability, I would like to log the user invoking the call using the API. The scenario is that we are building APIs for a BSS process. The first API is the TMF 673 address validation. However, when I looked at the API (most of the API), we don't have a placeholder for capturing the user (from the third parties invoke API from their application). This is extremely valuable for tracking user journeys. I'm wondering which TMF object can be used to extend the API request model 



    ------------------------------
    Ajo John
    Crown Castle
    ------------------------------


  • 2.  RE: Capture the Party invoking the TMF API

    TM Forum Member
    Posted 12 days ago

    Hi Ajo

    I don't think it is healthy to enhance the functional signature of every API operation with such information. More appropriate would be to use the HTTP header.

    The header should already contain authentication information for the security principal invoking the API, but it may be tricky to trace this back to the business party. You could add an extension to the header to transmit the ID or reference to the relevant party.

    Good luck



    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
    ------------------------------



  • 3.  RE: Capture the Party invoking the TMF API

    TM Forum Member
    Posted 11 days ago

    Hi Jonathan

    Thank you for your feedback. Yes, we use OAuth flows to authenticate. Most of our partners we talked to prefer to use from a trusted server, so we set up a client credentials flow (so we know which application or partner is making a call). However, sub-agents are using the web application, so we need to track their name and email to look at the journey from their application. In case of any broken journey or need follow-ups, our client partner manager can contact them. If we look at APIs like ProductQualification, it has user data to capture. 

    As per the feedback, if user data is not available as a request model, use HTTP custom headers to track it. Do we need to standardize the approach and custom header names? 



    ------------------------------
    Ajo John
    Crown Castle
    ------------------------------



  • 4.  RE: Capture the Party invoking the TMF API

    TM Forum Member
    Posted 11 days ago

    Indeed, people in the Open API team have concluded that we need to standardize the interaction between Open API and OAuth2. I'll pass this on to my colleague who is actually working on a concrete proposal for that.

    Thanks for your input.



    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
    ------------------------------