Has anyone done OAuth 2.0 Client Credentials Flow?...
# suitescript
e
Has anyone done OAuth 2.0 Client Credentials Flow? I’m stuck trying to understand the generation of the JWT token. https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_162790605110.html
b
usual answer is to use a library to generate a jwt for you
the thing to keep in mind is that netsuite's documentation for client credentials is wrong
if their example does one thing and the documentation says to do otherwise
follow the example
e
thanks @battk
So in terms of my understanding, the certificate that’s generated that will be uploaded to NS should be generated by the external source right?
b
yes
👍 1