Does any one work with ADFS Windows 2012 R2 using oAuth - oauth-2.0

Does any one work with ADFS Windows 2012 R2 using oAuth. I tried to find the stuff but all in vain. I am struggling for many days but no one helped me. Please please help me on this
Thanks.

I'm working with ADFS using OAuth. I'm stucked now ... but I could make it work. Just a simple auth flow. Look at my answer of your question here to create a custom client using DotNetOpenAuth.

Related

Migrate System.Security/IdentityModel to OWIN/Katana Approach

I want to migrate my security infrastructure to OWIN/Katana but i'm not very familiar with it. I hope someone can give me a ride in the right direction. Currently i use .net fwk 4.5, mvc 5 and the features in System.Security/IdentityModel. The authentication is done against ADFS 2.0 (i want to configure it in owin), i use claims transformation and session management (where is it placed and how it's done in owin) and authorization is done by filters (is still the same in owin?).
Thanks a lot guys!
Have a look at blog post by Vittorio Bertocci that shows how to secure webapi.
Lots of sample that can be applied to ADFS https://github.com/Azure-Samples to secure using OWIN.

DotNetOpenAuth in MVC4 - Yahoo doesn't work

I am migrating my existing project from MVC3 to MVC4. In MVC3 I used Microsoft Azure's Access Control Service (ACS) for getting user identity. I would like to use DotNetOpenAuth.AspNet that comes with VS2012 to replace the old method, and I am studying this with the sample website that VS2012 created when you start a new 'Internet Application' project.
I followed the tutorial and made the necessary changes in AuthConfig.cs, trying to enable using facebook & google & yahoo to authenticate. The facebook works ok. Both Google and yahoo don't work, and result.IsSuccessful is always false in the function ExternalLoginCallback().
I did some google search and found this site: https://github.com/mj1856/DotNetOpenAuth.GoogleOAuth2. I followed this site and finally got google work.
However, I am still stuck with the yahoo problem. I wonder if there is any similar solution for yahoo like google.
Thank you.
Sorry I didn't see this sooner. Glad you like my Google OAuth2 adapter. I wrote one for Facebook also.
I checked, but I couldn't find any support from Yahoo for OAuth2. They appear to support only OpenID or OAuth 1. You might as well us the OpenID client that ships with OAuthWebSecurity in MVC4.
OAuthWebSecurity.RegisterYahooClient();
If anyone know of Yahoo OAuth2 support, please let me know. Thanks.

How to access Microsoft Exchange mails using OWA(Outlook Web Access)

As I am new to Microsoft Exchange and OWA please help me.
My goal is to create a sample program/application on iPhone/iPad (iOS) through which I can access Exchange mails. (Exchange 2003, 2007, 2010, 2013)
I am aware about EWS and EAS.
It would be helpful if you advise any other possible way to access exchange mails.
Thank you in advance.
I've spend many hours on that subject, one (working) thing I've found is this:
https://github.com/jgallen23/OWAParser
My problem was, after testing many times with my company's Exchange server they've locked my account. And even thought it works, after changing something small in the server configuration it will stop working, and that wasn't an option for me.
Hope this helps you! :-)

I am trying to use openid for my website. Can someone please point me to a asp.net mvc working sample that uses openid

Due to lack to time i cannot dig google and get information about openid and then implement it. Can someone please point me to a working asp.net sample that explains how openid works with asp.net mvc. Thanks.
There is c# library to help you to do this called dotnetOpenAuth:
http://dotnetopenauth.net:8000/
This is the same as used by Stackoverflow

Simple OpenID authentication code for .NET MVC

Is there a simple example of OpenID authentication implemented using MVC ?
DotNetOpenAuth. You can also take a look at this blog post from Scott Hanselman.
RPX is yet another OpenID library.
Authenticating users with RPXNow (in ASP.NET MVC)
You cant get much simpler than this:
I just installed dotnetopenauth through nuget to a new project (forms authentication included), and then followed this tutorial which is pasting 3 small chunks of code and it worked.
http://andrewblogs.com/blog/openid-for-asp-net-mvc-a-quick-setup/
I know a im a bit late but look here
http://nuget.org/packages/SimpleID
Now i haven't tried it but it seems like the fastest solution and its based on DotNetOpenAuth
Here is a complete step by step article how to add OpenID authentication to ASP.NET MVC 3 application. It shows how to combine OpenID with stanard FormAusthenication model, so you can use either e-mail/password or OpenID.
Complete solution code is available. It worked for me with some minor tweaking to get user's e-mail, first and last name in addition to OpenID :-)
OpenID Authentication with ASP.NET MVC3 , DotNetOpenAuth and OpenID-Selector
http://weblogs.asp.net/haithamkhedre/archive/2011/03/13/openid-authentication-with-asp-net-mvc3-dotnetopenauth-and-openid-selector.aspx

Resources