SDKActive

SvelteKit Auth

SvelteKit Auth: Auth.js | Authentication for the Web Skip to content The Auth.js project is now part of Better Auth .

Open source page

Field note

What it does

API reference @auth/core @auth/core ⚠️ Experimental @auth/core is under active development. This is the main entry point to the Auth.js library. Based on the Request and Response Web standard APIs. Primarily used to implement framework -specific packages, but it can also be used directly. Installation npm pnpm yarn bun npm install @auth/core pnpm add @auth/core yarn add @auth/core bun add @auth/core Usage import { Auth } from "@auth/core" const request = new Request ( "https://example.com" ) const response = await Auth (request, { ... }) console. log (response instanceof Response ) // true Resources Getting started Guides AuthConfig Configure the Auth method. Example import Auth, { type AuthConfig } from "@auth/core" export const authConfig : AuthConfig = { ...

Capabilities

Available capabilities

Tags

Tags

No tags filed yet.

Ways to use it

Ways to use it

No integrations filed yet.

Product features

Product features

adapter?

@auth/core

AuthConfig

basePath?

callbacks?

cookies?

debug?

Example

Extended by

Properties

Resources

Usage