New ask Hacker News story: Why does validating a user require 14000 files?
Why does validating a user require 14000 files?
4 by yashg | 1 comments on Hacker News.
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.
4 by yashg | 1 comments on Hacker News.
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.
Comments
Post a Comment