CINXE.COM

Code — OAuth

<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Code &mdash; OAuth</title> <link href="/stylesheets/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <link href="/stylesheets/style.css?2" rel="stylesheet" type="text/css" /> <link href="/stylesheets/print.css" rel="stylesheet" type="text/css" media="print" /> <link rel="webmention" href="https://webmention.io/oauth/webmention" /> </head> <body> <div id="ea"> <div class="ea-placement"><div class="ea-content"></div></div> </div> <script src="https://cdn.usefathom.com/script.js" site="KKZQTOOD" defer></script> <script> var trackOutboundClick = function(url, code) { if(window.fathom) { window.fathom.trackGoal(code, 0); } } </script> <nav class="navbar navbar-expand-md navbar-light bg-light"> <a class="navbar-brand" href="/"><img src="/images/oauth-logo-square.png" width="45" alt=""></a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarsExampleDefault"> <ul class="navbar-nav mr-auto"> <li class="nav-item"><a class="nav-link" href="/2/">OAuth 2.0</a></li> <li class="nav-item"><a class="nav-link" href="/specs/">Specs</a></li> <li class="nav-item"><a class="nav-link" href="/code/">Code</a></li> <li class="nav-item"><a class="nav-link" href="/articles/">Articles</a></li> <li class="nav-item"><a class="nav-link" href="/videos/">Videos</a></li> <li class="nav-item"><a class="nav-link" href="https://events.oauth.net/">Events</a></li> <li class="nav-item"><a class="nav-link" href="/books/">Books</a></li> <li class="nav-item"><a class="nav-link" href="/security/">Security</a></li> <li class="nav-item"><a class="nav-link" href="https://shop.oauth.net/">Merch</a></li> <li class="nav-item"><a class="nav-link" href="/about/credits/">About</a></li> </ul> </div> </nav> <div class="print-header"> <span class="item"><img src="/images/oauth-logo-square.png" width="45" alt=""></span> <span class="item">oauth.net/code/</span> </div> <div class="alert alert-success" role="alert" style="border-radius: 0;" id="site-banner"> <div style="max-width:800px; margin: 0 auto; padding: 0 15px;"> Featured: <span ><a href="https://fusionauth.io/learn/expert-advice/oauth/modern-guide-to-oauth?utm_medium=display&utm_source=oauthnet&utm_campaign=oauth_ebook" onclick="fathom.trackGoal('IX7OVRZA', 0);" class="featured-banner">Master OAuth 2.0 from this guide with modern use cases and real-world examples</a></span> </div> </div> <div class="container"> <div> <h2>Code</h2> <p>OAuth libraries are available in a variety of languages.</p> <ul class="languages"> <li> <a href="/code/actionscript/"><img src="/images/code/actionscript.png" alt="ActionScript"></a> <span><a href="/code/actionscript/">ActionScript</a></span> </li> <li> <a href="/code/bun/"><img src="/images/code/bun.png" alt="Bun"></a> <span><a href="/code/bun/">Bun</a></span> </li> <li> <a href="/code/c/"><img src="/images/code/c.png" alt="C"></a> <span><a href="/code/c/">C</a></span> </li> <li> <a href="/code/coldfusion/"><img src="/images/code/coldfusion.png" alt="ColdFusion"></a> <span><a href="/code/coldfusion/">ColdFusion</a></span> </li> <li> <a href="/code/deno/"><img src="/images/code/deno.png" alt="Deno"></a> <span><a href="/code/deno/">Deno</a></span> </li> <li> <a href="/code/dart/"><img src="/images/code/dart.png" alt="Dart"></a> <span><a href="/code/dart/">Dart</a></span> </li> <li> <a href="/code/dotnet/"><img src="/images/code/dotnet.png" alt=".NET"></a> <span><a href="/code/dotnet/">.NET</a></span> </li> <li> <a href="/code/elixir/"><img src="/images/code/elixir.png" alt="Elixir"></a> <span><a href="/code/elixir/">Elixir</a></span> </li> <li> <a href="/code/elm/"><img src="/images/code/elm.png" alt="Elm"></a> <span><a href="/code/elm/">Elm</a></span> </li> <li> <a href="/code/erlang/"><img src="/images/code/erlang.png" alt="Erlang"></a> <span><a href="/code/erlang/">Erlang</a></span> </li> <li> <a href="/code/go/"><img src="/images/code/go.png" alt="Go"></a> <span><a href="/code/go/">Go</a></span> </li> <li> <a href="/code/java/"><img src="/images/code/java.png" alt="Java"></a> <span><a href="/code/java/">Java</a></span> </li> <li> <a href="/code/javascript/"><img src="/images/code/javascript.png" alt="JavaScript"></a> <span><a href="/code/javascript/">JavaScript</a></span> </li> <li> <a href="/code/kotlin/"><img src="/images/code/kotlin.png" alt="Kotlin"></a> <span><a href="/code/kotlin/">Kotlin</a></span> </li> <li> <a href="/code/lua/"><img src="/images/code/lua.png" alt="Lua"></a> <span><a href="/code/lua/">Lua</a></span> </li> <li> <a href="/code/nodejs/"><img src="/images/code/nodejs.png" alt="Node.js"></a> <span><a href="/code/nodejs/">Node.js</a></span> </li> <li> <a href="/code/objc/"><img src="/images/code/objc.png" alt="Objective C"></a> <span><a href="/code/objc/">Objective C</a></span> </li> <li> <a href="/code/perl/"><img src="/images/code/perl.png" alt="Perl"></a> <span><a href="/code/perl/">Perl</a></span> </li> <li> <a href="/code/php/"><img src="/images/code/php.png" alt="PHP"></a> <span><a href="/code/php/">PHP</a></span> </li> <li> <a href="/code/powershell/"><img src="/images/code/powershell.png" alt="PowerShell"></a> <span><a href="/code/powershell/">PowerShell</a></span> </li> <li> <a href="/code/python/"><img src="/images/code/python.png" alt="Python"></a> <span><a href="/code/python/">Python</a></span> </li> <li> <a href="/code/qt/"><img src="/images/code/qt.png" alt="QT / C++"></a> <span><a href="/code/qt/">QT / C++</a></span> </li> <li> <a href="/code/ruby/"><img src="/images/code/ruby.png" alt="Ruby"></a> <span><a href="/code/ruby/">Ruby</a></span> </li> <li> <a href="/code/rust/"><img src="/images/code/rust.png" alt="Rust"></a> <span><a href="/code/rust/">Rust</a></span> </li> <li> <a href="/code/scala/"><img src="/images/code/scala.png" alt="Scala"></a> <span><a href="/code/scala/">Scala</a></span> </li> <li> <a href="/code/swift/"><img src="/images/code/swift.png" alt="Swift"></a> <span><a href="/code/swift/">Swift</a></span> </li> </ul> <div style="clear: both;"></div> <style> ul.languages { list-style-type: none; margin: 0; padding: 0; } ul.languages li { min-width: 110px; float: left; padding: 10px; margin-bottom: 10px; display: flex; flex-direction: column; text-align: center; } ul.languages li img { max-height: 60px; } </style> <br><br> <h3 id="services">OAuth Providers</h3> <span id="proxy-services"></span> <h4 id="open-source">Open Source</h4> <span id="proxy-services-open-source"></span> <ul> <li><a href="https://goauthentik.io">Authentik</a></li> <li><a href="https://github.com/curveball/a12n-server">a12n-server</a></li> <li><a href="https://github.com/casbin/casdoor">Casdoor</a></li> <li><a href="https://github.com/babelouest/glewlwyd">Glewlwyd</a></li> <li><a href="https://github.com/Fraunhofer-AISEC/omejdn-server">Omejdn</a></li> <li><a href="https://www.keycloak.org">Keycloak</a></li> <li><a href="https://github.com/oauth-io">OAuth.io</a></li> <li><a href="https://www.ory.sh/hydra">ORY Hydra</a></li> <li><a href="https://github.com/panva/node-oidc-provider">oidc-provider</a></li> <li><a href="https://simplelogin.io/developer">SimpleLogin</a></li> <li><a href="https://github.com/spring-projects/spring-authorization-server">Spring Authorization Server</a></li> <li><a href="https://github.com/ssqsignon">SSQ signon</a></li> <li><a href="https://wso2.com/identity-server/">WSO2 Identity Server</a></li> <li><a href="https://github.com/zitadel/zitadel">ZITADEL</a></li> <li><a href="https://github.com/malach-it/boruta-server">boruta</a></li> </ul> <h4 id="commercial">Commercial</h4> <span id="proxy-services-commercial"></span> <ul> <li><a href="https://wso2.com/asgardeo/">Asgardeo</a></li> <li><a href="https://auth0.com">Auth0</a></li> <li><a href="https://authress.io?utm_source=oauth.net">Authress</a></li> <li><a href="https://www.cidaas.com">cidaas</a></li> <li><a href="https://clerk.com?utm_source=oauth.net">Clerk</a></li> <li><a href="https://www.corbado.com">Corbado</a></li> <li><a href="https://curity.io">Curity Identity Server</a></li> <li><a href="https://www.descope.com">Descope</a></li> <li><a href="https://www.forgerock.com">ForgeRock</a></li> <li><a href="https://fusionauth.io/">FusionAuth</a></li> <li><a href="https://www.loginradius.com">LoginRadius</a></li> <li><a href="https://developer.okta.com">Okta</a></li> <li><a href="https://www.pingidentity.com">PingId</a></li> <li><a href="https://access.redhat.com/products/red-hat-single-sign-on">Red Hat Single Sign-On</a></li> <li><a href="https://stytch.com/?utm_source=oauth.net">Stytch</a></li> <li><a href="https://zitadel.com">ZITADEL Cloud</a></li> <li><a href="https://www.ibm.com/cloud/app-id">IBM Cloud App ID</a></li> </ul> <h3 id="related">Related Projects and Services</h3> <ul> <li><a href="https://github.com/vouch/vouch-proxy">Vouch Proxy</a> - an nginx reverse proxy solution that adds OAuth/OpenID authentication</li> <li><a href="https://github.com/enterprise-oss/osso">Osso</a> - SAML to OAuth bridge</li> </ul> <h3 id="oauth-1">Legacy OAuth 1.0 Support</h3> <ul> <li>See <a href="/1/">OAuth 1.0</a></li> </ul> </div> </div> <footer> <div class="source"> Missing something? <a href="https://github.com/aaronpk/oauth.net/blob/main/public/code/index.php">Edit this page</a>. </div> <div class="container"> </div> </footer> <script src="/stylesheets/jquery-3.2.1.slim.min.js"></script> <script src="/stylesheets/bootstrap/js/bootstrap.min.js"></script> <script> function ea(response) { if(response.html) { $("#ea").html(response.html); } }; $(function(){ if(window.fathom && $(".featured-banner").data("view-code")) { window.fathom.trackGoal($(".featured-banner").data("view-code"), 0); } }); </script> <script async src="/thanks.php"></script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10