{"library":"better-auth-cas","type":"library","category":null,"description":"The `better-auth-cas` package, currently at version `0.1.8`, is an early-stage plugin designed to integrate Central Authentication Service (CAS) functionality into the `better-auth` authentication framework. It provides standard CAS sign-in and callback endpoints, handles CAS ticket validation via `serviceValidate`, and includes robust profile mapping capabilities to translate CAS user attributes into `better-auth` user and session data. A key feature is the optional `onProfileResolved` hook, enabling custom persistence logic. It emphasizes solutions for common CAS integration challenges, such as managing CAS's separate SSO session cookies to prevent \"auto-login\" after a local logout and addressing `service` URL allowlist mismatches in CAS deployments. While in a pre-1.0 state, implying potential API changes, its initial release (v0.1.0 on 2026-03-19) indicates active development and a focused approach to providing a ready-to-use CAS solution for `better-auth` applications, shipping with TypeScript types for better developer experience.","language":"javascript","status":"active","version":"0.1.8","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install better-auth-cas","imports":["import { createStandardCasPlugin } from 'better-auth-cas';","import { auth } from '@/lib/auth';","import { NextRequest, NextResponse } from 'next/server';"]},{"cmd":"yarn add better-auth-cas","imports":[]},{"cmd":"pnpm add better-auth-cas","imports":[]}],"homepage":null,"github":"https://github.com/Travins/better-auth-cas","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/better-auth-cas","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/better-auth-cas/compatibility"}}