RE: 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 .

MKS Rookie Asked on May 26, 2023 in How To's.
Add Comment
1 Answers

Hi,

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:

https://suiteanswers.custhelp.com/app/answers/detail/a_id/101102/loc/en_US

Thanks,

Chris

Intermediate Answered on June 1, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.