An open API service indexing awesome lists of open source software.

https://github.com/Rettend/gau

Flexible OAuth library with first-class Tauri support
https://github.com/Rettend/gau

auth authentication oauth oauth2 solidjs svelte tauri

Last synced: 3 months ago
JSON representation

Flexible OAuth library with first-class Tauri support

Awesome Lists containing this project

README

          

gau



/ɡɔː/

good auth


NPM Version
JSR Version

**Read the docs**: [gau.rettend.me](https://gau.rettend.me)

- **Flexible** - Small and self-hostable, works with backend-only, full-stack, and native apps, and on different hosts
- **Framework agnostic** - Core is framework-free and uses Web Crypto and Fetch, with helpers for frameworks and runtimes
- **Runtime agnostic** - Runs on Bun, Node, Deno, Cloudflare Workers, and even Tauri
- **Database agnostic** - Can support any database via adapters

## examples

Check out the [`packages`](https://github.com/Rettend/gau/tree/main/packages) folder in this repo for complete working apps:

- `example-sveltekit`: SvelteKit + Turso
- `example-sveltekit-tauri`: SvelteKit + Turso + Tauri (desktop)
- `example-sveltekit-tauri-mobile`: SvelteKit + Turso + Tauri (mobile and desktop)
- `example-solidstart`: SolidStart + Turso
- `example-bun`: Bun.serve
- `example-elysia`: Elysia

To use them as starter templates:

`bunx degit Rettend/gau/packages/example-sveltekit`

## contributing

`gau` core is everything-agnostic, but it's missing a ton of specific integrations.
If you want to add a new...

- OAuth provider
- Database adapter
- Framework integration
- Platform integration

... PRs are welcome!

## license

MIT