This function implements the OAuth2.0 device grant flow see https://tools.ietf.org/html/rfc6749#section-1.3.1 and https://help.salesforce.com/articleView?id=remoteaccess_oauth_device_flow.htm&type=5 for more information. The token is stored in the OS keyring.
1 | login()
|
CCM access token for use in authorizing subsequent requests.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.