{"library":"haaremy-auth","type":"library","category":null,"description":"The official Haaremy SSO Authentication SDK provides a comprehensive solution for integrating Haaremy's Single Sign-On system into JavaScript applications. It encapsulates token handling, login/logout flows, BroadcastChannel-based tab synchronization, and offers specific integrations for React and Next.js. Currently at version 2.0.0, this SDK is actively maintained with a focus on security and developer experience. Key differentiators include its 'zero localStorage' approach (tokens are memory-only), proactive token refresh, server-side replay detection for token families, and efficient offline JWT validation using JWKS caching with Ed25519 signatures. It offers distinct entrypoints for vanilla JS/framework-agnostic core logic, React hooks and components, and Next.js middleware/server-side helpers, making it adaptable to various application architectures.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","haaremy","sso","auth","jwt","ed25519","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install haaremy-auth","imports":["import { init } from '@haaremy/auth'","import { useAuth } from '@haaremy/auth/react'","import { HmyAuthProvider } from '@haaremy/auth/react'","import { createHmyMiddleware } from '@haaremy/auth/next'","import { login } from '@haaremy/auth'"]},{"cmd":"yarn add haaremy-auth","imports":[]},{"cmd":"pnpm add haaremy-auth","imports":[]}],"homepage":"https://haaremy.com","github":"https://github.com/haaremy/hmyAuth","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/haaremy-auth","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/haaremy-auth/compatibility"}}