To call these methods, Email Magic Links must be enabled in the SDK Configuration page of the Stytch dashboard.
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
- Biometrics