Code
We have setup a code repository on Google Code for gathering libraries and other supporting examples. These libraries are contributed by members of the community and have not been tested or are necessarily known to work.
If you would like to test them and report issues, please visit our Issue Tracker.
DotNET
DotNetOpenAuth a consumer and service provider implementation for OAuth 1.0 and 1.0a for .NET, written in C#. It has built-in support for HMAC-SHA1, RSA-SHA1, and PLAINTEXT signature methods with extensibility to add others. It also includes the OpenID+OAuth extension. It works for ASP.NET as well as non-ASP.NET services, and works in partial trust shared hosting environments. Contributed by Andrew Arnott.
Madgex has released an open source OAuth library for .NET (released under the MIT License). Documentation and demos are available.
C#
Eran Sandler has contributed a basic C# class that performs signing.
VB.NET
Nicolas Tarzia has translated Eran Sandler’s C# library into VB.NET.
ColdFusion
Harry Klein has contributed a ColdFusion library which is also listed at RIA Forge.
Common Lisp
Leslie P. Polzer contributed cl-oauth, which is available on GitHub and Gitorious. It currently supports HMAC-SHA1 authentication and comes with some SP convenience functions. It’s not polished yet but comes with a basic test suite and all you need to set up both Consumers and Service Providers.
Java
A Java library and examples were contributed by John Kristian, Praveen Alavilli and Dirk Balfanz.
OAuth for Spring Security is also available, contributed by Ryan Heaton. This project is not hosted in the OAuth repository.
OAuth Signpost offers simple OAuth message signing for Java and Apache HttpComponents (Google Android ready!). Contributed by Matthias Kaeppler.
Javascript
John Kristian has contributed a Javascript Library.
Jifty
Shawn M Moore has written an OAuth Plugin for the Jifty Framework.
Objective-C
Jon Crosby has released an OAuthConsumer and OAuthTestSuite for Objective-C for Mac developers. The OAuthConsumer framework is available in the repository and Jon has also written up Using OAuthConsumer, a complete guide to using the OAuthConsumer framework for Mac apps.
Karl Adam released MPOAuthConnection, a drop in component for Mac and iPhone apps to talk to OAuth web services.
OCaml
Jake Donham from SkyDeck has released Ooauth, an implementation of OAuth in OCaml. Discussion group.
Perl
Keith Grennan has written a Net::OAuth in Perl.
- Marcus Ramberg and Tomas Doran are working on an OAuth component for the Catalyst framework.
PHP
- There is an extension to PHP that supports OAuth. It was written by John Jawed. An example can be found here and a walkthrough is also available. This pecl package is considered the de facto standard by Rasmus Lerdorf.
- Andy Smith has written a basic PHP library for OAuth.
- Cal Henderson has contributed a simple OAuth library that primarily handles signing.
- HTTP_OAuth is a PEAR package developed by Jeff Hodsdon and Bill Shupp (Digg). You can try it out using this tool.
- There is now an OAuth component for CakePHP.
- Justin Richer has developed an OAuth plugin for Elgg. Right now it supports only 1.0 (not 1.0a) and it's a little rough around the edges, but it does provide a fully-functional consumer support library (including storage of tokens as Elgg entities) and service provider (allowing access to all of Elgg's api and services using OAuth as the authentication layer).
- Zend_OAuth was contributed by Pádraic Brady. The source code can be found here.
Python
Joe Stump (SimpleGeo) maintains the python-oauth2 library on GitHub, and is considered the most up-to-date and unit-tested implementation of OAuth for Python 2.4+.
- Leah Culver has written both a library in Python 2.3 and offered an example implementation.
- David Larlet has released an OAuth Provider and Consumer (documentation) for Django.
- Simon Willison released the snippet that handles OAuth in Wikinear.
- Steve Marshall wrote a comprehensive binding for Fire Eagle that implements OAuth.
Ruby
Blaine Cook, Pelle Braendgaard and others have written a library in Ruby.
Others
Mark Atwood is working on mod_auth_oauth. Michael Mealling is working on support for SiteMinder. Anthony Webb and Dave Hoff of IMified are working on an OAuth ColdFusion library.
There is an XQuery OAuth Library written by Stephan Merkli and documented here.