Monday, August 30, 2021

Why does validating a user require 14000 files?

Why does validating a user require 14000 files?
1 point by yashg 0 minutes ago | hide | past | favorite | discuss
I thought of using Sign in with Google instead of creating my own authentication for a new project I am building. I don't want my users to remember yet another password. I myself have been using Google to sign into many of the new services these days. So I went about implementing Google Identity SDK. Easy to setup. but when it comes to validating the Google ID token on the server side, it requires Google Client SDK.

The php SDK I am using has 14800 files totaling 37 MB!

I just want to validate a user.

I tried removing unnecessary services from composer.json. Still 14000+ files.

I just want to validate a user.

This just reinforces my general dislike of frameworks. Just so much of unnecessary fluff that your project if never going to use.

I just want to validate a user. It shouldn't require including 14000 files in my project.




Applications are open for YC Winter 2022

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact



from Hacker News https://ift.tt/3zw2A6p

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.