TBA Authentication Credentials

Hi I’ve been trying to use token based authentication to authenticate to the SOAP API

I have made enabled SOAP webservices, created an integration record, and created a token for the integration record  yet I still get a 400 error.

here is my request in postman

TBA Authentication Credentials

this is what it looks like in the header of my post request to the gettoken endpoint:

OAuth realm=”myaccountid”,oauth_consumer_key=”key from netsuite”,
oauth_token=”token id from netsuite “,oauth_signature_method=”HMAC-SHA256″,
oauth_timestamp=”1640727651″,oauth_nonce=”0is2I5BowJi”,oauth_version=”1.0″,
oauth_callback=”http%3A%2F%2Flocalhost%3A%2A”,
oauth_signature=”my calculated signature”

 

What am I missing?

Am I making a request to the right endpoint?

Rookie Asked on December 28, 2021 in SuiteTalk.
Add Comment
3 Answer(s)

Wrong place using the wrong tool. The endpoint you are using is to get an access token. You dont want to use it if you already got an access token from the ui. SOAP also does not use OAuth 1, so you won’t be using any of Postman’s supported authentication types.

Its generally a pain to use postman to work with soap since you have to generate the requests by hand. If you still want to experiment with postman, then you need a pre-request script. Expect to upgrade that script since HMAC1 has been deprecated.

Advanced Answered on December 29, 2021.
Add Comment

should I skip to step two then? Is the token I received from the UI already authorized?

Rookie Answered on December 29, 2021.
Add Comment

No.The entire point of the The Three-Step TBA Authorization Flow is to get an access token, you already have it.

You should be going through the Token-Based Authentication Details to continue learning how to use the tokens.

Advanced Answered on December 29, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor   Become a Sponsor