Adding Facebook Identity Provider to STS created on development machine
-
2011년 9월 7일 수요일 오전 5:46
Hi,
I have a situation whereby I want to add Facebook as one of the Identity Provider to STS when I "Create a new STS project in the current solution".
I have gone through the steps from this blog and I got it work only when I create STS on the Azure platform/AppFabricLabs. http://blogs.southworks.net/mwoloski/2011/04/12/adding-internet-identity-providers-like-facebook-google-liveid-and-yahoo-to-your-mvc-web-application-using-windows-azure-appfabric-access-control-service-and-jquery-in-3-steps/
However, I am clueless on how to bring the Facebook Identity Provider to the STS if I choose the option Create a new STS project in the current solution when I add STS Reference to my solution.
Any help and advice is appreciated.
모든 응답
-
2011년 9월 7일 수요일 오후 3:05
Hi,
You could look at using ACS for this.
I've not done it with facebook, but I have with LiveID, Yahoo and Google.
The steps i used where:
On premise:
Create an on-premise app.
In Azure AppFabric:
Add Yahoo, Google (and facebook) as identity providers.
Add your on-premise app as a relying party
Configure a rule set for the relying party and the identity provider.
On premise:
Add STS reference to you app using Azure ACS as the STS.
Modify web.config to allow STS tokens in posts.
I'd recommend taking a walkthru of adding Lice ID first, as it's easter, then add facebook.
I plan some webcasts on ACS soon, i might do one on adding social identities as IPs tomorrow, i'll post if i do,
Regards,
Alan
http://www.CloudCasts.net - Community Webcasts Powered by Azure -
2011년 9월 21일 수요일 오전 4:23Sorry, a little humor Alan, I noticed you said Lice ID rather than Live ID! :) Too funny.
If this answers your question, please use the "Answer" button to say so | Ben Cline

