Discussions
Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!
Join the largest gathering of the NetSuite Community at SuiteWorld in Las Vegas, September 9-12! Discover cutting-edge innovations, attend insightful sessions, network with industry leaders, and elevate your business to new heights. Register here!
OAuth 2.0 Client Credentials Flow: INVALID_LOGIN_ATTEMPT
Release 2021.2 introduces the Client Credentials Flow.
What we have done:
- Setup (https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_162686838198.html)
- Post request to the Token Endpoint (https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_162755359851.html) -- this, after correcting the error in the documentation (the parameter is "client_assertion", not "assertion"), indeed returns an access_token
- Invoking a restlet (https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_157780293862.html) however fails with INVALID_LOGIN_ATTEMPT
The access_token returned in step 2 contains "scope": [ "restlets" ] which we believe should be sufficient. (adding the "rest_webservices" scope does not help)
0