function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Harisa HashimuddinHarisa Hashimuddin 

What is the purpose of using JWT in Einstein Image Recognition API?

I have been going through the SF docs for Einstein Image Recognition API. Could someone please explain the use of JWT for authorization?
SandhyaSandhya (Salesforce Developers) 
Hi,


JSON Web Token (JWT) is a means of representing claims to be transferred between two parties. The claims in a JWT are encoded as a JSON object that is digitally signed using JSON Web Signature (JWS) and/or encrypted using JSON Web Encryption (JWE).

Refer below link for more information on this.

https://codeburst.io/jwt-to-authenticate-servers-apis-c6e179aa8c4e
 
https://medium.com/vandium-software/5-easy-steps-to-understanding-json-web-tokens-jwt-1164c0adfcec
 
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
                                             
Best Regards
Sandhya