Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
How to use jsrsasign.js in SuiteScript Debugger for OAuth 2.0 Client Credential Grant flow?
Hi All,
I'm new to this OAuth 2.0 Client Credential Grant flow. I'm having problem correctly using jsrsasign.js, or I'm unable to spot my scripting mistakes. SuiteScript Debugger reported error "init failed:Error: not supported argument" upon signing the JWT in my require() script in debugger. jsrsasign.js of course has no problem, the problem must be how I am using it. Please can anyone show me the way?
jsrassign.js was copy/paste into my require() script for debugging, and it was downloaded from
I've referenced SuiteAnswer 1013484 for using Postman to get Access Token from OAuth 2.0 Client Credential; and got it working. ie. Postman returned the Access Token, see it using jsrsasign without problem, and created OAuth 2.0 Authorized Application record at OAuth 2.0 Netsuite instance.