connect php to netsuite reslet by Outh2.0

I tried to connect PHP with NetSuite Restlets using OAuth 2.0, but after 7 days, the refresh token is expired, and i was unable to generate a new ‘access token’.

Kindly guide me how i can automate this process, because manual re-authentication every 7 days required .

Rookie Asked on May 26, 2023 in How To's.
Add Comment
1 Answer(s)


If you are using the standard OAuth2.0 flow, then I believe re-authentication is unavoidable.

You may wish to consider OAuth1.0 or the OAuth2.0 client credentials flow, especially if this a Machine-to-Machine interaction:



Intermediate Answered on June 1, 2023.
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   Become a Sponsor   Become a Sponsor