- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
01-02-2013 10:31 AM
I am trying to do the same thing ... where is this located, the app ID. Are you creating a new Service Provider?
String idpStart = '/idp/login?app=0spE0000000GmgD'; // IdP initated URL provided by SFDC
01-02-2013 10:47 AM
Thank you for the quick response. I have been searching everywhere for a solution. If you don't mind I'd like to recap what we are trying to do to make sure it is the same.
Right now I have Idp setup and I have a Service Provider setup for Google Mail. It works as expected, the user goes to google and they get redirected back to the Issuer URL, they login and are sent to gmail. If the user logs in to SFDC using the issuer url and they click a gmail link inside of Salesforce they pass right into google already logged in.
I have portal users who this doesn't work for. So based on this solution I would create a login page as you have posted and then direct all user to that page to login and it will handle if they are portal or not or is this only for portal users to login. For the google example would I alter the Sign in page url from the ttps://mydomain.my.salesforce.com/idp/endpoint
Sorry for so many questions, trying to wrap my head around this. I appreciate it.
05-20-2013 09:27 AM
I know this posting is old, but just wondering if it works since I have a related requirement.
I assume this controller and page are on the IDP org and where Sites is enabled.
And the SP in this case from what I've read is a Portal (with Sites).
What is the configuration on the SP to point to the VF on the IDP - is it simply a VF set up as the SP Sites Active Home Page
that does nothing but redirect to the VF on the IDP?
Apologies, but a bit confused on what this entails.