SDK Reference
AuthOS TypeScript SDK guides and reference material.
SDK Reference
The AuthOS SDK (@drmhse/sso-sdk) is the canonical client library for browser apps, CLIs, adapters, and service integrations.
Start here
- SDK Getting Started
- Authentication Flows Guide
- AI Agent Skills
- Auth Module
- Organizations Module
- Platform Module
- Service API Module
Common scenarios
- Hosted application login with
sso.auth.getAuthorizeUrl() - Hosted account-security management with
sso.auth.getAccountSecurityUrl() - Hosted auth metadata for custom UIs with
sso.auth.getContext() - Platform-owner tooling with
sso.platform.* - Tenant application login with org and service context
- Provider token flows via linked accounts and
sso.serviceApi.requestProviderToken()
Local defaults
Use http://localhost:3001 as the API origin for local development examples.
Sections
SDK Guides
Step-by-step guides for implementing common authentication and integration patterns with the AuthOS SDK including OAuth, password auth, and MFA.
6 pagesSDK API Reference
Complete reference documentation for all modules and methods in the AuthOS SDK including authentication, user management, organizations, and services.
12 pagesPages
Getting Started with the SDK
Quick start guide for installing and using the AuthOS SDK in JavaScript and TypeScript applications with setup, configuration, and first API calls.
SDK Guides
Step-by-step guides for implementing common authentication and integration patterns with the AuthOS SDK including OAuth, password auth, and MFA.
SDK API Reference
Complete reference documentation for all modules and methods in the AuthOS SDK including authentication, user management, organizations, and services.