Layer7 Access Management

Expand all | Collapse all

SaledforceIDP OAuth partnership - userInfo URL

  • 1.  SaledforceIDP OAuth partnership - userInfo URL

    Posted 12-12-2016 12:26 AM

    Hi team,

    In SM OAuth Partnership (Salesforce as IDP), what should be the general User Information Service URLs ?

     

     

    Salesforce seems to different API for each user we try to log into in the format-

    https://***.***.salesforce.com/id/{orgID}/{userID}

    For ex: "id":"https://login.salesforce.com/id/00D28000001zu9qEAA/00528000005NRP5AAO

    This URL needs to be queried to retrieve user info. However SM can only query the URL mentioned in the configuration. So, I could hardcode details for one user. It is not efficient for each login.

     

    So, Is there a way to make the URL dynamic, so that siteminder can replace the placeholder value. As per the Runbook, they seem to have hardcoded one use details. Please correct me if I am wrong in my understanding.

     

    Thanks,
    Debasish.



  • 2.  Re: SaledforceIDP OAuth partnership - userInfo URL

    Posted 12-13-2016 07:12 AM

    Hi Debasish,

     

    From the runbook, you need to add 1 url for a given user, which
    seems to cover all users.

     

    Seems other have the same question as you :

     

          https://developer.salesforce.com/forums/?id=906F00000005IQqIAM

     

    This seems to be related to the "uniqueness of the ids".

     

    Best Regards,
    Patrick