Skip to main content
Deno 2 is finally here 🎉️
Learn more

gotrue

An isomorphic JavaScript client library for the GoTrue API. This is a port of gotrue-js

Docs

Quick start

Usage

import { GoTrueClient } from 'https://deno.land/x/gotrue/mod.ts'

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

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

Note that in the Deno port you cannot declare a custom fetcher like in the NodeJS version because Deno already has fetch built in so its kinda pointless.