function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sharon XiSharon Xi 

Is it possible to host plain javascript and html app using connected app?

We have a plain javascipt and html app and would like to use connected app to embed into our saleforce org. We could not figure out how to get hold of the signed_request in post request body from the salesforce to our app. I'm just wondering if it's even possible? If it's possible, any example will be really appreciated!!! Thanks.
JLA.ovhJLA.ovh
Without a connected app it is easier (just embed it in a tab providing the URL for instance).
As a connected app, in the app configuration in the Setup menu of Salesforce, you must change the "Access Method" from "Signed Request (POST)" to "OAuth Webflow (GET)", even if you ignor GET parameters. It is a little tricky