Displaying 1 to 2 from 2 results

Lightning-Out-Demo - How to use Lightning component in node

  •    Javascript

Complete source code to showcase using Lightning component in node.js (External websites) by using Lightning Out. It shows how to enable CORS and SSL in Node.js with Video and complete source code. Create Connected App in your Salesforce instance with callback URL - https://localhost:8081/ Copy consumer secret created in connected app and update clientId variable defined in OAuth.js file.

OAuthFlows - Salesforce Oauth Flows

  •    Javascript

Create Connected App in your Salesforce instance with callback URL - https://localhost:8081/oauthcallback.html. Make sure to upload server.crt as a digital certificate in connected app. You can use your own certificate as well. Copy consumer key & secret created in connected app and update jwt_consumer_key and client_secret variable defined in Server.js file.