News for hackers. Stuff that matters.
Re:Separating User Database and Authorization from Apps with... by jhughes2112 on Wednesday November 11, 2020 @02:12PM (#25061756)
I'm the article author. Don't have all the answers. :-)

The appealing part for me was not reinventing the wheel for each application. Auth is hard to do well. Here's what I do know (to save you a search or two): - You definitely still want an application-level DB for you to have app-level features like showing friends/leaderboards/forum user names, etc. - Any decent auth system lets you skin the login forms however you want.

My guess about local dev is you skip the auth entirely and just force-feed the decoded JWT into the application. You can setup oauth2 using a hosts file to work properly, but it's a lot of work just to get to the decoded JWT to feed your app. YMMV.

Glad you found it interesting!

There are no comments on this comment yet.