Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Authentication
When you create a Canvas app, you can use the signed request
authentication method or the OAuth 2.0 authentication method.
-
Signed request—The
default method of authentication for Canvas apps. The signed request
containing the consumer key, access token, and other contextual information
is provided to the Canvas app in one of these ways.
- The administrator allows access to the Canvas app for the user.
- The user approves the Canvas app in the OAuth flow.
- OAuth 2.0—Canvas apps can use the OAuth 2.0 protocol to authorize and acquire access tokens. For more information about OAuth and the Lightning Platform, see Authorize Apps with OAuth.