• Ned Kraushaar
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 0
    Replies
Hello, I have configured a connected app that is SAML enabled.  I am displaying the app in a Visualforce page using an iframe as part of the Case layout page.  You can see below that the src attribute of the iframe references the connected app’s startup url and then the connected app (which is an asp.net web page) is loaded.
 
<apex:page standardController="Case" >
     <apex:iframe id="CaseFrame" width="100%" height="500" scrolling="true"  src="https://domain.my.salesforce.com/idp/login?app=0sp1O000000fxTs" />
</apex:page>
 
While loading, it builds a SAML assertion which it then posts to my asp.net app’s ACS url (assertion consumer service).  This url is a configuration setting in SFDC.  Because it redirects like this and does a post, I don’t see a simple way to pass custom parameters to my app as below…(passing the case id in the src url)
 
<apex:page standardController="Case" >
          <apex:iframe id="MyIFrame" width="100%" height="220px" scrolling="false"  src="https://mydomin.paasnational.com/FM.aspx?cid={!case.ID}" />
</apex:page>
 
I see there is a way to add custom parameters to the SAML assertion by extending the Auth.ConnectedAppPlugin class.  I could write a SOQL query here and load business data that my connected app could consume, but I don’t see a way to add the case id of the Case that the current user is viewing with this approach like in the iframe above. 
 
Does anyone know of an approach I could use to pass the current case id to my saml enabled connected app?  Thanks.
Hello, I have configured a connected app that is SAML enabled.  I am displaying the app in a Visualforce page using an iframe as part of the Case layout page.  You can see below that the src attribute of the iframe references the connected app’s startup url and then the connected app (which is an asp.net web page) is loaded.
 
<apex:page standardController="Case" >
     <apex:iframe id="CaseFrame" width="100%" height="500" scrolling="true"  src="https://domain.my.salesforce.com/idp/login?app=0sp1O000000fxTs" />
</apex:page>
 
While loading, it builds a SAML assertion which it then posts to my asp.net app’s ACS url (assertion consumer service).  This url is a configuration setting in SFDC.  Because it redirects like this and does a post, I don’t see a simple way to pass custom parameters to my app as below…(passing the case id in the src url)
 
<apex:page standardController="Case" >
          <apex:iframe id="MyIFrame" width="100%" height="220px" scrolling="false"  src="https://mydomin.paasnational.com/FM.aspx?cid={!case.ID}" />
</apex:page>
 
I see there is a way to add custom parameters to the SAML assertion by extending the Auth.ConnectedAppPlugin class.  I could write a SOQL query here and load business data that my connected app could consume, but I don’t see a way to add the case id of the Case that the current user is viewing with this approach like in the iframe above. 
 
Does anyone know of an approach I could use to pass the current case id to my saml enabled connected app?  Thanks.
 
Hello, I have a connected app using saml which is contained in an visualforce page iframe on a Case layout page.  I need to pass the case id to the connected app.  With a simple iframe this is straight forward  ...

<apex:iframe id="MyIFrame" src="https://mycustomapp.com/app/aid={!case.accountID} />

But since my connected app uses saml, my src attribute is the connected app startup page.  The startup page then redirects and does a post to my apps acl page posting the samlresponse.  I see how I can modify the saml response, adding custom parameters, by extending the Auth.ConnectedAppPlugin class.  My problem is that I need to add the case id of the currently viewed case and I don't know how to access the current case in this class.

Thanks for helping.
I received this email notice from Salesforce.  How do I determine if my company's org will be affected by this?



 
We use 8x8 VCC (v. 9.4.1) but, according to SF Login History, it is using TLS 1.0 protocol.  We are preparing for when Salesforce requires TLS 1.1 or higher in March for all connected apps.  8x8 says they don't have a fix for this yet.  I anyone experiencing this issue?        
Hello, I have configured a connected app that is SAML enabled.  I am displaying the app in a Visualforce page using an iframe as part of the Case layout page.  You can see below that the src attribute of the iframe references the connected app’s startup url and then the connected app (which is an asp.net web page) is loaded.
 
<apex:page standardController="Case" >
     <apex:iframe id="CaseFrame" width="100%" height="500" scrolling="true"  src="https://domain.my.salesforce.com/idp/login?app=0sp1O000000fxTs" />
</apex:page>
 
While loading, it builds a SAML assertion which it then posts to my asp.net app’s ACS url (assertion consumer service).  This url is a configuration setting in SFDC.  Because it redirects like this and does a post, I don’t see a simple way to pass custom parameters to my app as below…(passing the case id in the src url)
 
<apex:page standardController="Case" >
          <apex:iframe id="MyIFrame" width="100%" height="220px" scrolling="false"  src="https://mydomin.paasnational.com/FM.aspx?cid={!case.ID}" />
</apex:page>
 
I see there is a way to add custom parameters to the SAML assertion by extending the Auth.ConnectedAppPlugin class.  I could write a SOQL query here and load business data that my connected app could consume, but I don’t see a way to add the case id of the Case that the current user is viewing with this approach like in the iframe above. 
 
Does anyone know of an approach I could use to pass the current case id to my saml enabled connected app?  Thanks.