{"id":13513629,"url":"https://github.com/supabase/auth-js","last_synced_at":"2025-05-13T21:04:14.228Z","repository":{"id":37709137,"uuid":"293511548","full_name":"supabase/auth-js","owner":"supabase","description":"An isomorphic Javascript library for Supabase Auth.","archived":false,"fork":false,"pushed_at":"2025-05-12T16:41:04.000Z","size":5975,"stargazers_count":413,"open_issues_count":91,"forks_count":182,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-05-13T14:22:02.499Z","etag":null,"topics":["authentication","authorization","go","javascript","jwt","sponsors","supabase","typescript","user-management"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/supabase.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["supabase"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-09-07T11:40:50.000Z","updated_at":"2025-05-12T16:39:45.000Z","dependencies_parsed_at":"2023-09-23T05:09:07.022Z","dependency_job_id":"937fbc7b-1717-4ad4-9754-d901d3979e57","html_url":"https://github.com/supabase/auth-js","commit_stats":{"total_commits":814,"total_committers":82,"mean_commits":9.926829268292684,"dds":0.8083538083538083,"last_synced_commit":"28ead89af47bcdaccc6cc2f2c7f013bed8cf3d50"},"previous_names":["supabase/auth-js","supabase/gotrue-js"],"tags_count":325,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fauth-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fauth-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fauth-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fauth-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supabase","download_url":"https://codeload.github.com/supabase/auth-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254028329,"owners_count":22002230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","authorization","go","javascript","jwt","sponsors","supabase","typescript","user-management"],"created_at":"2024-08-01T05:00:33.367Z","updated_at":"2025-05-13T21:04:14.177Z","avatar_url":"https://github.com/supabase.png","language":"CSS","readme":"# `auth-js`\n\nAn isomorphic JavaScript client library for the [Supabase Auth](https://github.com/supabase/auth) API.\n\n## Docs\n\n- Using `auth-js`: https://supabase.com/docs/reference/javascript/auth-signup\n- TypeDoc: https://supabase.github.io/auth-js/v2\n\n## Quick start\n\nInstall\n\n```bash\nnpm install --save @supabase/auth-js\n```\n\nUsage\n\n```js\nimport { AuthClient } from '@supabase/auth-js'\n\nconst GOTRUE_URL = 'http://localhost:9999'\n\nconst auth = new AuthClient({ url: GOTRUE_URL })\n```\n\n- `signUp()`: https://supabase.io/docs/reference/javascript/auth-signup\n- `signIn()`: https://supabase.io/docs/reference/javascript/auth-signin\n- `signOut()`: https://supabase.io/docs/reference/javascript/auth-signout\n\n### Custom `fetch` implementation\n\n`auth-js` uses the [`cross-fetch`](https://www.npmjs.com/package/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:\n\n```js\nimport { AuthClient } from '@supabase/auth-js'\n\nconst AUTH_URL = 'http://localhost:9999'\n\nconst auth = new AuthClient({ url: AUTH_URL, fetch: fetch })\n```\n\n## Sponsors\n\nWe 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.\n\n[![New Sponsor](https://user-images.githubusercontent.com/10214025/90518111-e74bbb00-e198-11ea-8f88-c9e3c1aa4b5b.png)](https://github.com/sponsors/supabase)\n\n![Watch this repo](https://gitcdn.xyz/repo/supabase/monorepo/master/web/static/watch-repo.gif 'Watch this repo')\n","funding_links":["https://github.com/sponsors/supabase"],"categories":["CSS"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase%2Fauth-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupabase%2Fauth-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase%2Fauth-js/lists"}