googleworkspace / md2googleslides

Generate Google Slides from markdown
Apache License 2.0
4.49k stars 286 forks source link

Sign in with Google temporarily disabled for this app #82

Open prhbrt opened 4 years ago

prhbrt commented 4 years ago

When using the app for the first time and going through the authorization steps, google says:

Sign in with Google temporarily disabled for this app

This app has not been verified yet by Google in order to use Google Sign In.

When authenticating, Google complained they didn't check the app and hence it's disabled.

I fixed this by going to the Google Cloud Console, I guess you have to be a developer to have this.

Then I created a project 'md2googleslides' and I created a 'OAuth Client ID' for 'Desktop app' also with the name 'md2googleslides', this gave me a client ID and client Secret.

The ID and the secret I manually injected into bin/md2gslides, in particular /home/herbert/.node_modules_global/bin/md2gslides for my installation. Around line 130, in the authorizeUser() function, there are clientId and clientSecret entries.

I think this should work, but I'm still working some stuff out and it is an ugly work around.

wescpy commented 4 years ago

Yep, correct. This is a duplicate of </issues/70> which was closed in favor of </issues/64>. My fix is almost exactly what you suggest but cleaner as it avoids that "ugly workaround" of hacking the code as you suggested. The PR is open for your review at </pull/74>. (Your fix is what I've been suggesting to everyone who needs this working ASAP while the PR is still open.)

sprajagopal commented 4 years ago

Thanks for this amazing project! It was super useful to me. I was trying this work around for the sign-in process. It works sometimes but not always. Particularly the rate-limiting on the number of queries is a problem. Anyway, I tried a few options but nothing that works for me and obviously this is dependent on google heavily (and that's obviously the point of the project, I get that) In case, anyone is looking for a simpler way to do this, pandoc-2.10.x now can work seamlessly in converting markdown to pptx. You can then use simple google drive sync. This is the best I could find that can emulate the above without the GSuite problems.

wescpy commented 4 years ago

[UPDATE: The permanent fix described below has been merged BUT, the release tag hasn't been updated, so you'll need to compile and replace the old one in bin.]

I provided a temporary solution for those who needs this working ASAP and filed a PR with a permanent fix, but that's undergoing review at this time.