SDKs
Auth.it provides SDKs for a variety of languages to help you build integrations more easily.
Auth.it’s SDKs make it easier to access the Admin API. Check out installation instructions for the TypeScript and Java SDKs below.
Official SDKs
TypeScript SDK
The TypeScript SDK can be used in both browser and server environments, enabling you to build full-stack applications with Auth.it.
Installation
To install the SDK from npm, run:
Server Usage
Most of your interactions with the Admin API will likely happen on the server, to protect API requests and user credentials. You’ll use the SDK in your frontend to let users connect accounts. Once connected, you’ll use the SDK on the server to find and update users, organizations, events, webhooks, and more.
Browser Usage
You’ll primarily use the browser client to let your users securely connect apps from your frontend. When making calls from the browser, you’ll use short-lived access tokens to authenticate requests.
Java SDK
The Java SDK is for server-side use in JVM-based applications. Use it to build Java backends, Spring Boot applications, and other JVM services that integrate with Auth.it.
Installation
To install the SDK with Maven, add this dependency to your pom.xml:
For Gradle, add this to your build.gradle:
Usage
The Java SDK is designed for server-side applications. Use it to securely manage user connections, retrieve account info, and interact with the Admin API from your Java backend.
OpenAPI Specification
If you use another language, you can download our OpenAPI spec file and generate a client for your preferred language.
https://github.com/auth-it/authit-config/blob/main/fern/authit.yml
Request a new SDK
If you’d like to request an SDK for a language that we don’t currently support, let us know. We’re always looking to expand our SDK offerings and would love to hear from you.