3
4 Comments

Why is Google OAuth Login api Over 55MB?

I recently had Google OAuth Login so customers will have an faster login for my site when it launches. The standard Google Login include a bunch of stuff like game folders and files(11k files). I got it from github via google team. It actually doubled the size of my website. Is there a lean version of this Google OAuth bloated folder (11k files) for just google login?

  1. 1

    It seems like you might've downloaded some development version of their plugin, 55 MB 🤯
    Could you share the URL where you downloaded it? I can try to find a leaner version - Pavin.

    1. 1

      Thank you! Please see the Github link:

      https://github.com/googleapis/google-api-php-client

      It has already been integrated into my site. so i'm pretty much curious which folders i can delete from that mass.

      1. 1

        I took a look at it, if you're using composer then the webapp itself shouldn't load any unnecessary files and the package does include a lot more than just OAuth. Check under vendor/google/apiclient-services/src/Google/Service directory and delete everything you don't need - Pavin.

        1. 1

          Thanks. Much appreciated. Some files will be obvious. i’ll need to just do trial and error (delete/undelete) for the rest. I’m going to focus on the folder path that you have mentioned. Thanks again.

Trending on Indie Hackers
After 10M+ Views, 13k+ Upvotes: The Reddit Strategy That Worked for Me! 42 comments Getting first 908 Paid Signups by Spending $353 ONLY. 24 comments 🔥Roast my one-man design agency website 21 comments I talked to 8 SaaS founders, these are the most common SaaS tools they use 20 comments What are your cold outreach conversion rates? Top 3 Metrics And Benchmarks To Track 19 comments Hero Section Copywriting Framework that Converts 3x 12 comments