Discussions
SuiteWorld is where the NetSuite community comes together to learn, connect, and discover what’s next.
Whether you’re looking for product updates, practical tips, new ways to improve efficiency, or insights from other customers, SuiteWorld offers something for every stage of your NetSuite journey.
■ NetSuite 2026.2 Release Notes
■ NetSuite SuiteApps Release Notes
■ NetSuite Sneak Peeks
■ Release Preview Guide
■ Release Preview Test Plan Template
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.