This topic contains 3 replies, has 0 voices, and was last updated by ironside 8 years, 1 month ago.

  • Author
    Posts
  • #1683

    david.smith

    Has anyone been able to use Token Based Authentication (TBA) to retrieve the REST roles Service to Get User Accounts, Roles, and Domains?
    This is a cached copy. Click here to see the original post.

  • #1684

    chanarbon

    Hi David,

    I am pretty much interested in your use case for this one. TBA on its own has binding with a specific role with the token. This is very visible on the process of generating the token since you are selecting a role when you generate the tokens using the user, the integration record and the roles. In that sense, you will get the account which a token has a binding and the only thing left is the account domains.

  • #1685

    david.smith

    Thanks chanarbon . I find it interesting that NS asks you to make the call to get the correct URL but it doesn’t seem to accept the TBA so you’re exposing user/pass.

  • #1686

    ironside

    IIRC the api to get the correct endpoint url does NOT require username/pass. Try sending just the account id.

You must be logged in to reply to this topic.