2.62.2 • Published 6 days ago

@supabase/auth-js v2.62.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 days ago

auth-js

An isomorphic JavaScript client library for the Supabase Auth API.

Docs

Quick start

Install

npm install --save @supabase/auth-js

Usage

import { AuthClient } from '@supabase/auth-js'

const GOTRUE_URL = 'http://localhost:9999'

const auth = new AuthClient({ url: GOTRUE_URL })

Custom fetch implementation

auth-js uses the cross-fetch library to make HTTP requests, but an alternative fetch implementation can be provided as an option. This is most useful in environments where cross-fetch is not compatible, for instance Cloudflare Workers:

import { AuthClient } from '@supabase/auth-js'

const AUTH_URL = 'http://localhost:9999'

const auth = new AuthClient({ url: AUTH_URL, fetch: fetch })

Sponsors

We are building the features of Firebase using enterprise-grade, open source products. We support existing communities wherever possible, and if the products don’t exist we build them and open source them ourselves.

New Sponsor

Watch this repo

2.64.2-rc.rc.1

7 days ago

2.64.2

6 days ago

2.64.2-rc.1

8 days ago

2.64.1-rc.1

14 days ago

2.64.0-rc.rc.1

15 days ago

2.64.0

15 days ago

2.64.1

14 days ago

2.64.0-rc.1

16 days ago

2.63.2

20 days ago

2.63.2-rc.1

20 days ago

2.63.1

21 days ago

2.63.1-rc.rc.2

25 days ago

2.63.1-rc.2

29 days ago

2.63.0

1 month ago

2.63.0-rc.rc.rc.11

2 months ago

2.63.0-rc.11

3 months ago

2.63.0-rc.rc.11

3 months ago

2.62.2

4 months ago

2.62.1

4 months ago

2.62.0

5 months ago

2.61.0

5 months ago