How to authenticate using Box Javascript SDK to generate access token?
AnsweredUsing the Developer token, i am able to access my box account and files/folders.
I also wanted to do authentication using JWT and generate the access token for my admin/app users like we do for JAVA SDK.
I referred to the following links, but those were not helpful in generating the access token using JWT authentication.
-
Unfortunately, that JS SDK is not an officially supported Box SDK, and does not currently support performing JWT authentication from the browser. We have a server-side Node.js SDK that supports JWT authentication, but performing JWT authentication from the browser would likely be considered insecure, since it would require having your private key available on the client side, where it could be misused or stolen.
Please sign in to leave a comment.
Comments
1 comment