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.
By the way, I go out of my way to avoid signing into services using third parties for this reason. I don't use a Google account neither so I would be locked out of any service requiring one.
Your service will be highly dependent on Google if you only allow signing with Google and if they have a failure, your service will be unusable. Allowing other providers would highly improve this.