Skip to content

alien-id/sso-sdk-js

Repository files navigation

⚠️ Alpha Version Notice

This is an early alpha version of the Alien SSO SDK. The SDK is under active development and may contain bugs or undergo breaking changes. Use with caution in production environments.

Overview

This monorepo provides two authentication approaches:

  • Standard SSO: Web2-style OIDC authentication with TEE and blockchain backing
  • Solana SSO: Blockchain-native authentication with on-chain attestations on Solana

Packages

Standard SSO

Solana SSO

Documentation

📚 Full documentation available at dev.alien.org/docs

Guides

API Reference

Core Concepts

Demo Applications

Development

This is a Turborepo monorepo. To work with the SDK locally:

# Install dependencies
npm install

# Build all packages
npm run build

# Run in development mode (watch mode)
npm run dev

# Run tests
npm test

# Run demo apps
npm --filter example-sso-app run dev
npm --filter example-solana-sso-app run dev

Getting a Provider Address

To use the SDK, you need a provider address. Register your application at the Developer Portal to get your provider credentials.

Features

  • TypeScript-first with full type safety
  • Runtime validation via Zod schemas
  • React hooks and pre-built components
  • OIDC-compatible standard authentication flow
  • Solana integration with on-chain attestations
  • PKCE support for secure authorization
  • Dual export formats: ESM and CJS
  • Mobile-friendly with QR code and deep link support

Browser Support

  • Modern browsers with ES2020+ support
  • Chrome, Firefox, Safari, Edge (latest versions)

Support

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages