Hi, where are my Auth 2.0 URLs?
# suitescript
m
Hi, where are my Auth 2.0 URLs?
b
do you mean OAuth 2.0? If so , did you mean the callback url from the integration record or the urls related to the authorization flow grant?
m
in postman it is asking for auth urls
and access token url
@battk
step1 and step 2 has the 2 urls you need
ive not used it myself so tell me how it works out if you decide to use it long term
its the first oauth 2 service ive seen that uses short expiration access tokens with relatively short duration refresh tokens
m
page not found it says
@battk
b
use an account on 2020.1. OAuth 2.0 is a 2020.1 feature
m
I dont have 1
can you copy paste the info to me
b
you cant use OAuth 2.0 unless the account you are connecting to is 2020.1
use OAuth 1.0 if you aren't experimenting
m
im trying to help a friend
b
https://<accountID>.<http://app.netsuite.com/app/login/oauth2/authorize.nl|app.netsuite.com/app/login/oauth2/authorize.nl>
https://<accountID>.suitetalk.api.netsuite/services/rest/auth/oauth2/v1/token
m
Ty