Newer Version Available

This content describes an older version of this product. View Latest

Authentication

When you create a canvas app, you can use one of the following authentication methods:
  • Signed request—The default method of authentication for canvas apps. The signed request authorization flow varies depending on whether the administrator gives users access to the canvas app or if users can self-authorize. 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.