cguZZman / plugin.googledrive

The Google Drive addon for Kodi
GNU General Public License v3.0
213 stars 72 forks source link

Google Login Problem #345

Open Dnesh545 opened 5 months ago

Dnesh545 commented 5 months ago

This app is blocked This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access.

harendramgmc commented 5 months ago

This app is blocked This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access. Previously it was working fine

Dnesh545 commented 5 months ago

Yes, I had to login earlier. But now login is not working. Is there any other option?

On Tue, 18 Jun, 2024, 6:35 am harendramgmc, @.***> wrote:

This app is blocked This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access. Previously it was working fine

— Reply to this email directly, view it on GitHub https://github.com/cguZZman/plugin.googledrive/issues/345#issuecomment-2174713443, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJIU3JMN6OFUUAFNU644FODZH6BVBAVCNFSM6AAAAABJOU7I2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZUG4YTGNBUGM . You are receiving this because you authored the thread.Message ID: @.***>

Dnesh545 commented 5 months ago

Any solution?

On Tue, 18 Jun, 2024, 6:35 am harendramgmc, @.***> wrote:

This app is blocked This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access. Previously it was working fine

— Reply to this email directly, view it on GitHub https://github.com/cguZZman/plugin.googledrive/issues/345#issuecomment-2174713443, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJIU3JMN6OFUUAFNU644FODZH6BVBAVCNFSM6AAAAABJOU7I2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZUG4YTGNBUGM . You are receiving this because you authored the thread.Message ID: @.***>

yusukeeeeee1234 commented 5 months ago

I'm in the same situation. Please let me know if you have a solution.

quietcoolwu commented 4 months ago

Same issue here @cguZZman seems its about Google Drive Security policy, do we have alternative entrypoint?

javier191185 commented 4 months ago

Same situación here. We must be patient until @cguZZman could fix it :)

greatestradioshow commented 4 months ago

Same issue here.

tpahwa commented 4 months ago

Hi team i am also facing this same issue since last week any resolution @cguZZman. Can you please acknowledge me how to resolve it.

meekocaf commented 3 months ago

I have the same issue when trying to login (“This app is blocked. This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access.”). Hoping it gets fixed soon…

fernankodi commented 3 months ago

Same situación here. We must be patient until @cguZZman could fix it :)

I understand that this addon has not been updated since April, precisely as a result of the latest changes caused by the Google API. Could someone confirm to me if the development of this addon has been definitively abandoned or if its author is really willing to continue updating it? If this were the case, I would ask that someone knowledgeable about the subject could resume its development and make it functional again. It would be a shame if an addon as long-lived as Google Drive disappeared from Kodi.

aldacco commented 3 months ago

Same situación here. We must be patient until @cguZZman could fix it :)

I understand that this addon has not been updated since April, precisely as a result of the latest changes caused by the Google API. Could someone confirm to me if the development of this addon has been definitively abandoned or if its author is really willing to continue updating it? If this were the case, I would ask that someone knowledgeable about the subject could resume its development and make it functional again. It would be a shame if an addon as long-lived as Google Drive disappeared from Kodi.

The kodi addon is functional what fails is authentication with google, you can deploy your own instance which is made with spring boot(java) and have your own web login with your own credentials I have repricated that page with nextjs and you can easily deploy with vercel and upstash (temp db). https://github.com/aldacco/drive-login/

bs0001 commented 3 months ago

For me it won't work. I tried the Basic and the Advanced Method of https://github.com/aldacco/drive-login/

In both cases in the configuration mode I got the info "App is blocked".

May be describe a bit more step 4 "Create OAuth 2.0 Credentials". I have my Client ID and Client Secret but in step 6 I don't have the possibility to use them. May be in Kodi the URL for Google Drive has to be changed but this wasn't explained in the instructions.

fernankodi commented 3 months ago

The same thing happens to me as it does to bs0001. The configuration of the consent screen and the OAuth 2.0 client ID should be clarified as the instructions are somewhat confusing. Using the basic method it still shows me the message that the application is blocked.

MinhAmazing commented 3 months ago

follow this guide and you can use google drive login normally: https://youtu.be/1piIB5DfuQo?si=tm8hT2okxm6cUDcX

bs0001 commented 3 months ago

Thanks a lot, it will work! I won't trust any other address for getting access on my Google Drive. Is it possible to ceeate such an access direct on my own Google account?

meekocaf commented 3 months ago

follow this guide and you can use google drive login normally: https://youtu.be/1piIB5DfuQo?si=tm8hT2okxm6cUDcX

This looks great but is there a way I can make my own login website that is like that? Or a way to do it without giving access to my drives and whatnot? Because the only part I’m not sure I’m comfortable with is giving access to all my Google Photos and my drive.

meekocaf commented 3 months ago

@cclauss Do you know how to fix this Google drive issue for Kodi by any chance?

cclauss commented 3 months ago

https://support.google.com/accounts/thread/111344249

MinhAmazing commented 3 months ago

Hmm, my app has been verified by google. so, dont worries about this.

fernankodi commented 3 months ago

This new validation system works perfectly for me, allowing me to access the contents of my drive space. However, it prevents me from accessing the content that I have saved in old Google accounts, for which I obtained the corresponding authorization from the website https://drive-login.herokuapp.com. I imagine that the answer would be to re-authorize access to the other accounts using the new website https://kodi.imminh.com but it would be an immense task since I would have to do it again in my 80 Google accounts where I have a collection of classic movies. The question would be: is it possible to use the new validation website without losing access to my previous accounts?

fernankodi commented 3 months ago

I have verified that when I restore the default validation website in the addon settings, I regain access to my old Google accounts but I lose access to the new ones and viceversa. I see that there is a file named settings.xml where the validation website is defined. Is there a way to include both the default and new validation web in this file?

greatestradioshow commented 2 months ago

Should this process "https://github.com/aldacco/drive-login/" work or not?

I tried the advanced method, but still I get the same error. When entering the PIN I get the error, and I'm not asked to provide my "Client ID" and "Client Secret".

Edit: Using "https://kodi.imminh.com/" doesn't work neither for me. Could it be related to the fact that my Google Account is a "Workspace" email?

aldacco commented 2 months ago

Should this process "https://github.com/aldacco/drive-login/" work or not?

I tried the advanced method, but still I get the same error. When entering the PIN I get the error, and I'm not asked to provide my "Client ID" and "Client Secret".

Edit: Using "https://kodi.imminh.com/" doesn't work neither for me. Could it be related to the fact that my Google Account is a "Workspace" email? image

At the beginning it was functional but it only accepts a maximum of 100 users if you don't verify the app, I recommend you to deploy your own instance to have your domain with your credentials (updated the instructions).

greatestradioshow commented 2 months ago

I recommend you to deploy your own instance to have your domain with your credentials (updated the instructions).

Sorry for my basic question, but where do I get the "next.js" file from, so I can import it: "To deploy your Next.js application on Vercel, follow these steps:"

aldacco commented 2 months ago

I recommend you to deploy your own instance to have your domain with your credentials (updated the instructions).

Sorry for my basic question, but where do I get the "next.js" file from, so I can import it: "To deploy your Next.js application on Vercel, follow these steps:"

next.js is a framework that does not refer to a file, you have to import the project, that is to say you would have to make a fork of the repository and import that project in vercel and configure the environment variables.

cclauss commented 2 months ago

https://nextjs.org

greatestradioshow commented 2 months ago

you have to import the project, that is to say you would have to make a fork of the repository and import that project in vercel and configure the environment variables.

Do you mean downloading the project as zip file or creating a fork with this URL: https://github.com/aldacco/drive-login/fork

If you could summarize me the steps in some bullet points how to proceed, I would appreciate it.

aldacco commented 2 months ago

you have to import the project, that is to say you would have to make a fork of the repository and import that project in vercel and configure the environment variables.

Do you mean downloading the project as zip file or creating a fork with this URL: https://github.com/aldacco/drive-login/fork

If you could summarize me the steps in some bullet points how to proceed, I would appreciate it.

If you do a fork, that way you have a copy of the repository in your account and in vercel you will have to link your github account (or start sessio with github) that way you can import that repository to deploy it. Or you can simply go to https://vercel.com/new/ and click on “Import Third-Party Git Repository” and paste the url of the repository “https://github.com/aldacco/drive-login” and follow the steps.

If you have questions or issues, please drop them in this repo so we can help you better.

krishbansalkb commented 2 months ago

@MinhAmazing Pls share the youtube video again It is showing as private

fernankodi commented 2 months ago

For now, the only hassle-free option that has been working from the beginning has been the authorization website https://kodi.imminh.com, but however, it has currently stopped working. When I try to access a Google account it tells me that this application is blocked.

Is there a way to unlock it easily without having programming knowledge?

I don't understand why at this point the original cguZZman addon has not been updated yet. Is this task so difficult?

Sorry I'm not an advanced user, but I think the solutions to this problem should be much simpler.

CodeGoblinss commented 2 months ago

If you know how to use rclone, then there is https://github.com/TheTechRun/RcloneTV. Been running pretty decent for me for over a day now using my Drive.

greatestradioshow commented 2 months ago

@fernankodi & @krishbansalkb : Try this guide to set it up, helped me.

@CodeGoblinss : But this is for Android or is there a way to set it up in Kodi?

pikilon commented 2 months ago

I have old devices with the auth and it is still working Does someone knows if is possible to copy some files from the old device to the new one so it login in kodi Like: Android\data\org.xbmc.kodi\files\.kodi\userdata\addon_data\plugin.googledrive

Flekoun58 commented 2 months ago

The add-on is completely useless, logging in with drive accounts does not work. I don't see what kind of problem it is to make the add-on functional so that I can register about it without having to go through some lengthy process that is more for experts than for the average user. Truly the most honest IT expert.

fernankodi commented 2 months ago

I completely agree with Flekoun58. I can't understand how the official forum only provides experimental solutions aimed at programmers and not at the majority of ordinary users. Taking into account that it has been 5 months since the last update, I see that there is no interest in continuing to update it so that it works normally as it always has for years. I say this because until now there is no news from the author of the addon. Is it really that difficult to adapt the addon to the recent changes applied by Google to its API? Is there no expert who can take up this project and move it forward again? It would be a shame if this addon disappeared permanently because a lot of people really use it.

juanyacovino77 commented 1 month ago

can't log-in

greatestradioshow commented 1 month ago

Modify the Drive add-on settings and try my app:

1 - Open Kodi and go to Add-ons > My add-ons > Video add-ons > Google Drive. 2 - Click on Configure. 3 - In the Advanced tab, find the Source property. 4 - Change the Source URL to: https://kodi-drive-login-psi.vercel.app 5 - Save the changes.

Let me know if it works.

Flekoun58 commented 1 month ago

Upravte nastavení doplňku Drive a vyzkoušejte moji aplikaci:

1 - Otevřete Kodi a přejděte na Doplňky > Moje doplňky > Doplňky videa > Disku Google. 2 - Klikněte na možnost Konfigurovat. 3 – Na kartě Upřesnit vyhledejte vlastnost Zdroj. 4 – Změňte zdrojovou adresu URL na: https://kodi-drive-login-psi.vercel.app 5 – Uložte změny.

Dejte mi vědět, jestli to funguje.

It does not work, it says error 404. The application does not have 2.0 authorization

Flekoun58 commented 1 month ago

It does not work, it says error 404. The application does not have 2.0 authorization.

greatestradioshow commented 1 month ago

Okay, let me check.

greatestradioshow commented 1 month ago

I set up the OAuth consent screen, the app is set to external and the status is "in production" (Verification not required).

If someone has a hint what could be the problem with the app, I will adjust it.

demironmanx commented 1 month ago

"If your app remains unverified, the unverified app screen will be displayed before the consent screen, and your app will be limited to 100 new users until it is verified." but since you @greatestradioshow already said (Verification not required) then maybe "Note: If you add any new redirect URLs or JavaScript origins, or if you change your product name after verification, you have to go through verification again." https://support.google.com/cloud/answer/7454865?hl=en

This might be the cause.

Demir

On Thu, 3 Oct 2024 at 13:26, greatestradioshow @.***> wrote:

I set up the OAuth consent screen, the app is set to external and the status is "in production" (Verification not required).

If someone has a hint what could be the problem with the app, I will adjust it.

— Reply to this email directly, view it on GitHub https://github.com/cguZZman/plugin.googledrive/issues/345#issuecomment-2391058188, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATIBHUBTB5PWSG2U37UNU53ZZULU7AVCNFSM6AAAAABJOU7I2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJRGA2TQMJYHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

TonyTrapper commented 1 month ago

follow this guide and you can use google drive login normally: https://youtu.be/1piIB5DfuQo?si=tm8hT2okxm6cUDcX

The video is private , help!

juanyacovino77 commented 1 month ago

who will be the man that fork this repo and take the lead on this

greatestradioshow commented 1 month ago

@demironmanx : I didn't change anything at my app, and I don't see the possibility to re-verify it as it says it is. Actually, I just wanted to do the rest a favor and create an external app so at least 100 users can enjoy it, etc. Is there any difference between internal and external setup beside the verification?

@juanyacovino77 : What is much more interesting to me, how can people use this add-on in a "useful" way? I opened a thread because for me and at least someone else, the performance is not really there.

juanyacovino77 commented 1 month ago

Answering your question. I want to display a Google slide on a tv using a raspwry pi 2 zero, thats it

floviolleau commented 1 month ago

Modify the Drive add-on settings and try my app:

1 - Open Kodi and go to Add-ons > My add-ons > Video add-ons > Google Drive. 2 - Click on Configure. 3 - In the Advanced tab, find the Source property. 4 - Change the Source URL to: https://kodi-drive-login-psi.vercel.app 5 - Save the changes.

Let me know if it works.

Hi,

Thanks for the job. I have a Access blocked: This app’s request is invalid, redirect_uri_mismatch

You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.

If you are the app developer, register the redirect URI in the Google Cloud Console.
Request details: redirect_uri=https://kodi-drive-login-psi.vercel.app//callback flowName=GeneralOAuthFlow

Thanks

demironmanx commented 1 month ago

@greatestradioshow: İnternal app is for your own Google Workspace domain, so your colleagues can use it immediately without any further verification. But no other Gmail account can have access to it.

12 Eki 2024 Cmt 01:55 tarihinde Florent V. @.***> şunu yazdı:

Modify the Drive add-on settings and try my app:

1 - Open Kodi and go to Add-ons > My add-ons > Video add-ons > Google Drive. 2 - Click on Configure. 3 - In the Advanced tab, find the Source property. 4 - Change the Source URL to: https://kodi-drive-login-psi.vercel.app 5 - Save the changes.

Let me know if it works.

Hi,

Thanks for the job. I have a Access blocked: This app’s request is invalid, redirect_uri_mismatch

By the way, can you please share the code of this vercel app?

Thanks

— Reply to this email directly, view it on GitHub https://github.com/cguZZman/plugin.googledrive/issues/345#issuecomment-2408214687, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATIBHUA6BWUOXJZGMB5PBXDZ3BJM7AVCNFSM6AAAAABJOU7I2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGIYTINRYG4 . You are receiving this because you were mentioned.Message ID: @.***>

iamrajeshwarraj commented 1 month ago

Modify the Drive add-on settings and use my app:

1 - Open Kodi and go to Add-ons > My add-ons > Video add-ons > Google Drive. 2 - Click on Configure. 3 - In the Advanced tab, find the Source property. 4 - Change the Source URL to: https://kodi-g-drive.vercel.app 5 - Save the changes.

greatestradioshow commented 1 month ago

@demironmanx : but my app is not set to internal, it is set to external.

@Rajeshwarraj : if yours is working, I would be interested in how you managed to do it - which settings you choose.