Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- 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
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Security
- :
- Re: SSO with Salesforce as indentity Provider and ...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: SSO with Salesforce as indentity Provider and Portal users
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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
Re: SSO with Salesforce as indentity Provider and Portal users
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-02-2013 10:38 AM
Yes its provided automatically in the SP detail page when you create a new SP.
Re: SSO with Salesforce as indentity Provider and Portal users
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: SSO with Salesforce as indentity Provider and Portal users
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: SSO with Salesforce as indentity Provider and Portal users
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-20-2013 10:38 AM
Instead of making the redirect the Active Home Page, I'd put the redirect logic in your Un-Authorized controller, or Login page for the SP

