I've pretty much got OpenID working using the DotNetOpenAuth library. Now I would like users to be able to use Facebook and Twitter to login.
This requires OAuth
so I am looking for a tutorial on how to use DotNetOpenAuth OAuth.
I'm having trouble trying to find some simple tutorials on how to do this.
Can anyone please help?
At the time of me answering this question, DotNetOpenAuth has a public Community Tech Preview (CTP) which is available to download.
Now, open up the web.config file for the OAuthClient
project.
Next, edit the following settings :-
<!-- Facebook sign-up: http://developers.facebook.com/setup/ -->
<add key="facebookAppID" value="------"/>
<add key="facebookAppSecret" value="------------"/>
You can get these values from your application on Facebook.
Voilà! you can now connect to Facebook to log in.
If you get errors, then you need to make sure that:
web.config
file.