Hi Architects,
I am trying to implement Oauth 2.0 Asset Token Flow using Postman. But cannot understand how actually can I use Asset Token to create/update records in salesforce. Here is what is did,
- Got an Access token using Web Server Flow (Postman)
- Created a unsigned JWT for Actor Token.
- Exchanged Actor Token & Access Token to Asset Token (Postman)
- In this step I was also able to create a new Asset (which actually registers an Asset based on documentation.)
- But I cannot access any API using this Asset token.
How to use the Asset Token?. Any code sample or use cases will be appreciated.
#Identity & Access Management #OAuth 2.0
Thanks in advance
Prosenjit Sarkar
3 respostas
Hi @Prosenjit Sarkar - Asset tokens in Salesforce are not designed for API calls. Instead, the backend service validates the asset token's legitimacy to determine if the device is authorized for the specific action. When it comes to API calls, particularly for CRUD operations, using bearer tokens is the recommended approach.