supabase-js VS auth

Compare supabase-js vs auth and see what are their differences.

supabase-js

An isomorphic Javascript client for Supabase. Query your Supabase database, subscribe to realtime events, upload and download files, browse typescript examples, invoke postgres functions via rpc, invoke supabase edge functions, query pgvector. (by supabase)

auth

A JWT based API for managing users and issuing JWT tokens (by supabase)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
supabase-js auth
28 45
2,819 1,165
4.6% 9.5%
8.2 9.4
4 days ago 5 days ago
TypeScript Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

supabase-js

Posts with mentions or reviews of supabase-js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-13.

auth

Posts with mentions or reviews of auth. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-17.
  • Supabase Auth now supports Anonymous Sign-ins
    2 projects | dev.to | 17 Apr 2024
    Supabase Auth now supports anonymous sign-ins, one of our most-requested features by the community.
  • Supabase – General Availability Week
    7 projects | news.ycombinator.com | 15 Apr 2024
    People keep writing this, doesn't Supabase rely on spinning up additional services to leave, meaning you can't leave to another managed offering?

    Off the top of my mind, PostgREST and go-true? https://github.com/supabase/auth

    -

    If you use Postgres you're "locked" into Postgres: a technology with a laundry list of providers.

    If you leave Supabase, you'll lose the fully managed aspect of 99% of the Postgres providers out there, which confirms the pain the parent comment is describing.

  • Ask HN: Microsoft crawls private links – how can this be legal?
    1 project | news.ycombinator.com | 6 Jan 2024
    > Microsoft scans to check the website contains malware. IMHO the security blunder is a self-implemented magic link.

    It's not self-implemented, you can check it out here: https://github.com/supabase/gotrue

    > Not password protected if the password is part of the URL.

    It's a token that's valid for a couple of minutes – just like a password reset token. Indeed, in the given implementation, it's the very same as the password reset token. If you consider this implementation as "not password protected", any website with a password reset functionality is "not password protected".

  • Supabase Local Dev: migrations, branching, and observability
    8 projects | news.ycombinator.com | 9 Aug 2023
    I hate to be this guy, really. I would like to adopt Supabase in company, but I cannot yet.

    I commented on a HN post almost a year ago about how hard is to do custom Auth with Supabase. I still haven't find a good solution about it. For example, LDAP Auth is quite crucial in most enterprise settings, yet I have no idea how to do it with Supabase. I can find a workaround for PostgREST by putting a secondary API written in some other language and fiddling with reverse proxies. But how to do with Supabase, such that all other services (realtime,...) works nicely? Is it so hard to provide a function that accept a custom strategy given the HTTP request data?

    I created an issue[0] almost a year ago on Supabase, which was transferred to Gotrue. I even provided some code examples from Laravel. Even if it is not specifically for LDAP, make some API available to do so, please.

    [0] https://github.com/supabase/gotrue/issues/904

  • T3 Stack Template : Supabase (w/ Auth + DB) and Shadcn-UI Basic Setup
    3 projects | dev.to | 24 Jul 2023
  • Is there complete documentation of the auth REST API anywhere?
    2 projects | /r/Supabase | 26 May 2023
    Yes there is, it's just not pretty yet: https://github.com/supabase/gotrue/blob/master/openapi.yaml
  • How do you implement authentication with nextjs frontend and golang backend?
    3 projects | /r/golang | 18 Apr 2023
  • Use base gotrue api instead of auth helper
    2 projects | /r/Supabase | 3 Apr 2023
    The gotrue api: https://github.com/supabase/gotrue
  • Securing a nextjs api with supabase auth
    1 project | /r/Supabase | 1 Apr 2023
    Validation happen inside of the GoTrue: https://github.com/supabase/gotrue... but you don't need it on your own, non supabase, server side resources... that's the beauty of JWT. You can validate JWT in any back-end / language, by simply checking the signature against HS256 key.
  • Junior dev. Struggling to understand how the out-of-box Auth component works.
    1 project | /r/Supabase | 27 Mar 2023
    Supabase use gotrue for Auth, you can poke around in the code & read more about it here: https://github.com/supabase/gotrue

What are some alternatives?

When comparing supabase-js and auth you can also consider the following projects:

storage - S3 compatible object storage service that stores metadata in Postgres

supabase-nextjs-auth - Example project implementing authentication, authorization, and routing with Next.js and Supabase

Grafana - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.

frank_jwt - JSON Web Token implementation in Rust.

DefinitelyTyped - The repository for high quality TypeScript type definitions.

jwt - Community maintained clone of https://github.com/dgrijalva/jwt-go

supabase - The open source Firebase alternative.

platforms - A full-stack Next.js app with multi-tenancy and custom domain support. Built with Next.js App Router and the Vercel Domains API.

core - 🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

nextjs-subscription-payments - Clone, deploy, and fully customize a SaaS subscription application with Next.js.

fastify - Fast and low overhead web framework, for Node.js