News for hackers. Stuff that matters.
Re:Fly.io Postgres cluster down for 3 days, no word from the... by fauigerzigerk on Friday July 21, 2023 @04:32AM (#36811443)
Do they offer authentication/authorization?

This is the one thing I need in every app and don't want to do myself.

Re:Fly.io Postgres cluster down for 3 days, no word from the... by spacebanana7 on Friday July 21, 2023 @05:29AM (#36811797)
I've been using Supabase for authentication/authorization in my recent side project.

The main app is node/express running on Digital Ocean and it connects to directly to the Supabase hosted Postgres for most operations, but then uses the Supabase auth API for auth related stuff.

Saves a lot of time sending password reset emails etc and the entire project costs less than $5/mo in hosting costs.

Re:Fly.io Postgres cluster down for 3 days, no word from the... by okhuman on Friday July 21, 2023 @09:16AM (#36813386)
Would you consider a project like https://github.com/authcompanion/authcompanion2 for the authentication side? Missing anything?
Re:Fly.io Postgres cluster down for 3 days, no word from the... by fauigerzigerk on Friday July 21, 2023 @10:39AM (#36814350)
No I would not.

I don't like self hosting anything that requires its own process. And if I did decide to self host I would choose a more mature project.

This is a very young one man project delegating the heavy lifting to another one man project. And it doesn't appear to support social logins.

Re:Fly.io Postgres cluster down for 3 days, no word from the... by okhuman on Friday July 21, 2023 @05:13PM (#36819868)
thanks for the feedback.
Re:Fly.io Postgres cluster down for 3 days, no word from the... by pc86 on Friday July 21, 2023 @09:50AM (#36813744)
In addition to Supabase Auth the sibling mentions (which I played with very briefly) I've been using clerk.dev (no affiliation) and it's great. Depending on your definition of doing it yourself it could be just want you want. You have to set some things up, you're not going to get things like row-level permissions you get out of the box w/ Supabase, but if you're looking for a quick implementation where things like password reset etc. are handled for you, it might be a good fit.
Re:Fly.io Postgres cluster down for 3 days, no word from the... by LtdJorge on Friday July 21, 2023 @11:08AM (#36814722)
I like https://github.com/goauthentik It has Helm charts and a Terraform provider.