I built something not long ago like this for myself. I haven't made it publicly available though.
Sick of spending time on Auth, we built an open source 'Stripe for Auth'
121–130 of 347 posts
Re: Sick of spending time on Auth, we built an open source 'Stripe for Auth'
#122Earlier quoted context omitted.
Which SDK/package did you use for Firebase and React? There seem to be half a dozen and ReactFire the most dated?
The official Google Firebase SDK... I didn't know there were third-party SDKs. All the React layer (views, state management, etc.) was my own.
Re: Sick of spending time on Auth, we built an open source 'Stripe for Auth'
#123Re: Sick of spending time on Auth, we built an open source 'Stripe for Auth'
#124> We think that Auth0, Firebase etc are great services but auth is complex. Yep that tends to happen when you are supporting SSO and certifications like OpenID Connect. Using one SSO portal to handle mobile, spa, web apps and code auth with evolving techniques like PCRE. That's probably why some customisations are not available too because it breaks the standard. You will just end up with the same models once you've…
So essentially the way we hope to solve this problem is through our modular architecture. You can start off simple and then just keep adding the modules you need instead of it all rolled into one implementation
Re: Sick of spending time on Auth, we built an open source 'Stripe for Auth'
#125I agree that auth is still a damn pain in the ass. My last two experiences have been with Firebase and Django, both with React front-ends. I think the state of JWT auth in Django with Rest Framework is dire. I've used the most popular packages (dj-rest-auth, which uses simple-jwt for JWT under the hood) and I've had to tweak way more than I would like to make it all work. I've been shocked to learn that this is not a…
considering flask-login for a new project, should I consider firebase instead? I do like most parts of GCP
Re: Sick of spending time on Auth, we built an open source 'Stripe for Auth'
#126I am psyched about the prospects. Cannot wait to be a beta user.
Re: Sick of spending time on Auth, we built an open source 'Stripe for Auth'
#127I agree that auth is still a damn pain in the ass. My last two experiences have been with Firebase and Django, both with React front-ends. I think the state of JWT auth in Django with Rest Framework is dire. I've used the most popular packages (dj-rest-auth, which uses simple-jwt for JWT under the hood) and I've had to tweak way more than I would like to make it all work. I've been shocked to learn that this is not a…
I would honestly question if you actually need JWT anyways. jwt is useful for independently verified auth tokens. i.e. service a auths the user, generates a token that says ' this is definitely my user with this data'. service b can't auth the user because it has not access to the data, but can trust the jwt from service a. every time i've seen someone with a jwt issue in django, they've just been wrapping the sessio…
The thing is, I looked into other auth alternatives (sessions, regular tokens) for Django DRF + React and they all seemed just as difficult to implement. That's the sticking point in this whole discussion and what these guys are trying to solve - auth is critical and sensitive, but it's also largely a commodity that in most cases is not relevant to the application business logic, and there's no reason it should take so long to implement every. single. time.
(But if you have a tip on how to implement auth in Django + SPA's in a super-easy way that scales horizontally and allows users to stay logged in between sessions, I'm willing to be persuaded that the developer experience for auth doesn't suck so much)
Re: Sick of spending time on Auth, we built an open source 'Stripe for Auth'
#128Re: Sick of spending time on Auth, we built an open source 'Stripe for Auth'
#129I know most people are not like this, but I don’t mind setting up auth “over and over” It’s always a chance to read about what’s changed in the technologies/ideas you usually lean on for it. Apply that simplification that you wish you could have for your already launched application. Maybe you have a need to make your auth slightly more proprietary. If you churn out applications all the time yeah I get why this could…
Yeah I don't mind setting up auth. It takes like a week at most for your MVP.
Re: Sick of spending time on Auth, we built an open source 'Stripe for Auth'
#130I agree that auth is still a damn pain in the ass. My last two experiences have been with Firebase and Django, both with React front-ends. I think the state of JWT auth in Django with Rest Framework is dire. I've used the most popular packages (dj-rest-auth, which uses simple-jwt for JWT under the hood) and I've had to tweak way more than I would like to make it all work. I've been shocked to learn that this is not a…