Skip to main content
I've got a visualforce page that's rendering a lighting component. I would like the component to work on a force.com site as the public guest user; however, the wrapper lightning app url with dependencies is throwing a 401

 

GET https://developer-boothleads.cs45.force.com/Eventdex/c/expenseListApp.app?aura.format=JSON&aura.formatAdapter=LIGHTNING_OUT 401 (Unauthorized)

 

Following is my application component:

 

    <aura:application access="global" extends="ltng:outApp">

 

  <aura:dependency resource="c:expenseList"/>

 

</aura:application>

 

 
4 réponses
  1. 21 déc. 2015, 09:41
    Guest user support for Lightning Compoennt 4VisualForce page  is coming in a future release (working to get it into Spring'16 - safe harbor of course).

     

    This was not originally in scope for that release but we had to do most of the work for some internal projects that depend on it and I have only just now gotten the green light to access="global" a new interface that your LO app will just need to implement for guest user support to kick in.

     

    Courtesy:

     

    http://salesforce.stackexchange.com/questions/98042/is-it-possible-to-enable-lightning-for-visualforce-for-a-public-force-com-sites
0/9000