Auth0 Libraries

There are several widgets and SDKs available for developers to provide a frictionless, simple experience when using Auth0. Take a look below to find documentation on the tools that you need to get started!

How Should You Implement Auth0?

When adding Auth0 to your web apps, the best solution is to use Auth0's Hosted Login Page. Using the Hosted Login Page is a simple process, and prevents the pitfalls of cross-origin authentication. The Hosted Login Page uses by default the Lock Widget to authenticate users, but there is also a template for Lock Passwordless and a template for a custom UI built with the Auth0.js SDK available.

You can customize the page in the Hosted Pages Editor.

If the Hosted Login Page does not meet your requirements, however, Auth0 has a variety of options which can be embedded in your applications to assist with authentication.

  • Lock is a drop-in authentication widget that provides a standard set of behaviors and a customizable user interface.
  • Auth0 SDKs are client-side libraries that do not come with a user interface. These allow for expanded customization of the behavior and appearance of the login process.
  • The Authentication API can be used to integrate applications with Auth0 without using any of the Auth0's libraries.

The best option to choose will depend on the needs of your app. Check out When to Use Lock for more information to help you decide between using Lock or an SDK.

Lock

The Lock widget is a simple way to integrate Auth0 into existing projects and provide the frictionless login and signup experience that you want for your app. Lock gives your users a customizable UI to authenticate with which to authenticate in your app.

The Lock widget for each platform has detailed reference documentation.

Lock Reference Documentation

Lock Support Table

Below are the GitHub links and support status for the various Lock widgets.

Library Version Level of Support
Lock.js v11
Supported
Lock.Android v2
Supported
v1
Bug fixes
Lock for iOS v2 v2
Supported
Lock for iOS v1 v1
Bug fixes

Auth0 SDKs

Auth0 SDKs include no UI. Instead, you would use one of these SDKs alongside your custom UI.

SDK Reference Documentation

The most commonly used SDKs have reference documentation.

SDK Support Table

Below are listed all of the SDKs that are available for Auth0, with GitHub links and their support status.

SDK Version Level of Support
Auth0.js v9
Supported
Auth0 Android v1
Supported
Auth0 Swift v1
Supported
Auth0 .NET v4
Supported
v3
Supported
Auth0 Java v1
Supported
Auth0 Node v2
Supported
Auth0 Python v2
Supported
Auth0 PHP v5
Supported

Framework/Platform Integration SDK Support Table

SDK Version Level of Support
Angular Auth0 v2
Supported
Angular Lock v2
Supported
Auth0 Servlet v3
Supported
Auth0 Spring MVC v1
Supported
Auth0 Spring Security MVC v1
Supported
Auth0 Spring Security API v1
Supported
Auth0 ASP.NET 4.5 Owin v2
Supported
Auth0 ASP.NET v1
Supported
OIDC Client for .NET Desktop and Mobile applications v1
Supported
JWT Auth Bundle v3
Supported
Auth0 with UWP applications v1
Community
Auth0 auth client for Winforms and WPF v0.9
Community

Auth0 reserves the right to downgrade support for an SDK to Community-Supported at any time.

Was this article helpful?