Loading
Salesforce now sends email only from verified domains. Read More
Identify Your Users and Manage Access
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Demo the Asset Token Flow

          Demo the Asset Token Flow

          For a quick demo of asset tokens, you can use the Asset Token Explorer demo app. The demo app simplifies your initial experience of getting an access token and exchanging it for the asset token.

          Required Editions

          Available in: both Salesforce Classic and Lightning Experience
          Available in: All Editions
          User Permissions Needed
          To manage, create, edit, and delete OAuth apps: Manage external client apps
          Note
          Note We don’t recommend using this demo app in an actual implementation.
          1. In a browser, go to https://asset-tokens.herokuapp.com/.
          2. Enter your My Domain login URL or Experience Cloud site URL. Then click Validate URL to initiate OAuth authorization.
          3. For OAuth client ID, provide the consumer key from your external client app.
          4. For OAuth client secret, provide the consumer secret from your external client app.
            Note
            Note To access the consumer key and consumer secret, from the App Manager, find the external client app and select View from the dropdown. Then click Manage Consumer Details. You're sometimes prompted to verify your identity before you can view the consumer key and consumer secret.
          5. Click Validate App Credentials.
          6. Click Login to your Experience Cloud site.
          7. Log in to your Experience Cloud site as a customer.
          8. Approve your external client app.
          9. Click Exchange Authorization Code for an access token.

          Request the Asset Token

          If you’re using the Asset Token Explorer demo app to request the asset token, follow these steps.

          1. If your access token is expired, request a new one.
          2. Review the sample data that is automatically filled in for your asset token request. Feel free to modify it. In an actual implementation, the asset’s metadata become the claims in your actor token.
          3. Click Build Actor Token.
          4. Review the resulting actor token with your data transformed into the actor token claims.
          5. Click Next.
          6. Review the protocol for exchanging your actor token and access token for an asset token.
          7. Click Next.
           
          Loading
          Salesforce Help | Article