Consumer Authentication

/

Frontend SDKs

/

Overview

Stytch Frontend SDKs

Our official suite of SDKs. Build auth in the language or framework of your choice.

Javascript SDK

The JavaScript SDK provides a customizable pre-built login form to start a login flow, along with methods that communicate directly with the Stytch API. These help you get up and running with Stytch faster by avoiding the struggles associated with creating a login UI and removing the need to create endpoints on your backend to make requests to Stytch.

Compatibility and requirements

Languages

The SDK is available in vanilla Javascript along with specialized versions for React and Next.

Browsers

  • Chrome and Safari on all platforms

  • Firefox on desktop platforms

  • TLS 1.2 must be supported by the browser

Supported Authentication Products

  • Email magic links

  • One-time passcodes

  • OAuth

  • WebAuthn

  • TOTPs

  • Crypto wallets

  • Session management

  • User management

  • Passwords