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