Hello, This is a question regarding OAuth. I’m fol...
# suitescript
v
Hello, This is a question regarding OAuth. I’m following the OAuth Authorization Grant Flow (https://system.netsuite.com/app/help/helpcenter.nl?fid=section_158074210415.html) and getting an access token for the user trying to log in. Once I have the token, I’m trying to access the UserInfo endpoint to get information related to the logged in user. But I cannot get this information. The scopes I’ve tried: email, openid, restlets, rest_webservices. There should have been a scope ‘profile’, but that is not working for me. If I use that scope, I get an error “The request could not be understood by the server due to malformed syntax”. Can anyone help me with this? I’ve been trying to figure this out since the past 2 weeks. :(
c
Open a support ticket