hi all, for the OAuth 2.0 authorization code grant...
# integrations
b
hi all, for the OAuth 2.0 authorization code grant flow in NetSuite, we noticed that the refresh token will expire after 7 days. It is also stated in their documentation here The issue is that to continue connection to the client's NetSuite, the account will need to go through the OAuth 2.0 authorization flow again every 7 days, which might not be the best experience. Does anyone know if this is possible to be changed within NetSuite in any way to extend the validity period?
s
As far as I know, that is not adjustable. If your use case isn't meant for end-user interaction (authorization) consider the newer Client Credentials flow.
n
m2m or Tba might the best option as it stands right now. If you are going with m2m here a guide that could be of help https://medium.com/entech-solutions/how-to-use-netsuite-rest-api-with-oauth-2-and-c-net-126ac118919c
👀 1
e
Client Credentials Flow for OAuth 2.0