Get your Orchard site up and running with Microsoft Connect

So you want to install Microsoft connect and have Live Id running on your site. Now you can..

1. Install the latest NGM.OpenAuthentication module in to Orchard.

2. Enable OAuth from the Site Settings section.

3. Pop over to Microsoft and get your client Id and secret key – entered this in to the site sections section, this will be visible after step 2.

4. Let get the connect button into your site.

Load up the Layout.cshtml file.

Enter this in to the file WorkContext.Layout.Footer.Add(New.PartsLiveIdLogOn(), "15"); // Login



That's it, load up your site Smile




Click Connect..


now sign in, this will redirect you back to your site…


Now if you have already connected your account this will sign you in… else enter your details and sign in, this will associate your account to your Live Id account.

If you have no account and you choose to register, then your account will still get assigned to your local account.

1 Comment

Leave a Comment

Yay! You've decided to leave a comment. That's fantastic! Please keep in mind that comments are moderated and rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or it will be deleted. Let's have a personal and meaningful conversation instead. Thanks for dropping by!