Hello,
I'm currently trying to properly configure my app for use with the Node SDK in order to establish an App Auth Client.
I've generated an RSA keypair through the Box Dev console and I have my credentials in a JSON file.
The console notes that: "You can import this file into our SDKs to easily configure your app". However, I haven't found much documentation on the Node SDK to specifically do this.
The Node SDK has an example app I've been looking at. But in that the credentials (clientID, publciKey, etc.) are hard-coded in. Specfically for the privateKey, they advise you should put in the path to a .pem file. I'm not exactly sure how to generate the a .pem file for my private key (which again was only given to me through JSON). I'm aware I could use OpenSSL and such, but I'm not sure I want to go through those hoops.
Does anyone have advice / best practices for how to set up App Auth using JWT on Node?
Thanks!