Help! Google Drive access access is blocked by IGV web app

43 views
Skip to first unread message

Mark Cruickshank

unread,
Sep 12, 2024, 3:38:29 AM9/12/24
to igv-help
I have been accessing data with the IGV web app (https://igv.org/app/) from my Google Drive for a few years but now get the following message:

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

How can I change third party permissions within my google drive account to allow IGV to access the data? Is there a solution for this?

Thank you.

Mark


igv-help

unread,
Sep 12, 2024, 1:01:46 PM9/12/24
to igv-help
In case anyone else on the forum is reading this - the conversation was continued in a GitHub issue here: https://github.com/igvteam/igv-webapp/issues/304

Mark Cruickshank

unread,
Sep 24, 2025, 10:34:18 PM (7 days ago) Sep 24
to igv-help
After this was fixed in 2024, I have encountered a similar but slightly different problem when attempting to access data on my google drive in September 2025.

I am looking for Help to access data on my Google Drive using the IGV-web app again please!

This is a screenshot of the drop-down menu from 2024 on the IGV-web app.

IGV web app 2024 drop down.png
Now the drop-down menu does not list Google Drive.

IGV web app 2025 drop down.png

However, there is a Google Drive icon located in the top right corner of the IGV-web app and I can sign-in clicking the icon. I cant figure out how to then access data once I login.
Screenshot 2025-09-25 at 10.23.40 am copy.png

If I try to manually load the data by pasting the URL of the file locations I recieve the following error message:
Google drive is referenced, but API key is not defined. An API key is required for Google Drive access : https://drive.google.com/file/d/1#########
(redacted file name!)
Screenshot 2025-09-25 at 10.30.28 am.png

However - if I use the "Local File" option I can use Google Drive folder within finder to navigate to the files I want and then they open successfully.

Unfortunately this is not a solution that will work universally among my class to provide access to the data.
Any help and advice would be greatly appreciated!
thank you,
Mark

igv-help

unread,
Sep 26, 2025, 7:01:13 PM (5 days ago) Sep 26
to igv-help
Hi Mark,

We are not authorized to use the Google Drive API from igv.org/app.   At one time we were, but Google has tightened restrictions on this.    

The icon at the top right corner is not a Google Drive icon, it is a generic Google login button.  Its purpose is to login for accessing Google Cloud Storage, a different thing.

It is possible to install your own copy of igv-webapp following instructions in the documentation, then provide your own Google project client ID to enable Google drive.   The rules for this change from time to time,  but generally you won't have any issues until you reach an individual user count of a few hundred.   At that point you will not be able to continue supporting Google Drive without a full audit of your site, which is well beyond our resources and I imagine yours as well.   I suppose you could always create a new Google project.

The other option is to move your files to another server,  perhaps a university web sever or Dropbox.

Sorry about this, but there is nothing we can do.

-- Jim

igv-help

unread,
Sep 26, 2025, 9:48:40 PM (5 days ago) Sep 26
to igv-help
On further investigation I found a workaround that may or may not work for your course.  We can renable Drive access with the Picker,  with restrictions.   Namely, loading by URL will not work, you must use the Picker.   This means that bookmarks, share URLs, and loading with a session will not work.   The restrictions are the same as local file access.  

If you need full access including URL support you'll need to use one of the solutions outlined in my last message.



igv-help

unread,
Sep 29, 2025, 6:24:10 PM (2 days ago) Sep 29
to igv-help
Update - I have successfully restored limited access to Google Drive in IGV web app.    I will re-iterate the limitations here for clarity

1.  You must pick files to load with the Google Drive "picker", accessed from the menus.   If the file is indexed you must pick both the data file and its index.
2.  You cannot load by URL, you must use the picker
3.  You can bookmark or create a "share" URL for your own use,  but you cannot share a session with another user as they did not explicitly pick the files.   

The update has been pushed to igv.org/app,  but you might need to refresh your page several times or even clear you browser cache to see the Google Drive items.  My browser at least is very stubborn about using a cached version of the configuration file.


Screenshot 2025-09-29 at 3.23.35 PM.png



Mark Cruickshank

unread,
Sep 29, 2025, 11:40:25 PM (2 days ago) Sep 29
to igv-...@googlegroups.com
Thank you so much for your efforts this is much appreciated. 

I can see the Google Drive option again in "picker".

After clearing cache and restarting laptop and browsers I can select Goggle Drive with "picker" however the pop-up window appears like this:


image.png

This app is blocked

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


Is there something else I need to do to fix this?

I see similar using Chrome and Firefox browsers. 


many thanks for your help

Mark






--

---
You received this message because you are subscribed to a topic in the Google Groups "igv-help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/igv-help/Rxvi0SOmacg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to igv-help+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/igv-help/72006f08-c64e-436b-9402-42c679f8dcc2n%40googlegroups.com.

James Robinson

unread,
Sep 30, 2025, 12:04:47 AM (2 days ago) Sep 30
to igv-...@googlegroups.com
Hmm, I'll have to look further into this.  It is working for us here (team members),  hopefully we can find a solution.  Google Drive is really difficult to work with.

James Robinson

unread,
Sep 30, 2025, 12:07:47 AM (2 days ago) Sep 30
to igv-...@googlegroups.com
In the meantime I've turned Google Drive off for igv.org/app.    We can continue testing on https://igv.org/app-test,  if and when there is a solution that works for you we'll update https://igv.org/app.   Apologies for the raised expectations, we really thought we had found a solution as it works for us.   

James Robinson

unread,
Sep 30, 2025, 12:17:53 AM (2 days ago) Sep 30
to igv-...@googlegroups.com
I might have found the problem, and a potential solution.   The current solution might have worked for us because the first few hundred users of an app appear to be exempt from the stricter rules.    So I will need you to test the next attempt, will ping here when it's ready.

Mark Cruickshank

unread,
Sep 30, 2025, 12:19:48 AM (2 days ago) Sep 30
to igv-...@googlegroups.com
thank you! 

I checked on the https://igv.org/app-test,  and now I can select files in Google Drive, but it gets stuck as per screenshot.

Screenshot 2025-09-30 at 12.15.43 pm.png

So files load, but then the dialogue box is stuck and wont close.

This happens on Chrome and Firefox.

Screenshot 2025-09-30 at 12.15.43 pm.png

James Robinson

unread,
Sep 30, 2025, 12:21:49 AM (2 days ago) Sep 30
to igv-...@googlegroups.com
Yes,  as I said above I don't think it's going to work for you without changes.   I'll ping here when it's ready, probably tomorrow evening (US Pacific Time).  

There's no guarantee this is fixable, but I do have some optimism still.   We'll try again tomorrow.

Mark Cruickshank

unread,
Sep 30, 2025, 12:37:44 AM (2 days ago) Sep 30
to igv-...@googlegroups.com
thank you, really appreciate it. cheers

igv-help

unread,
Sep 30, 2025, 11:53:37 PM (2 days ago) Sep 30
to igv-help
Hi Mark,  loading tracks from Google Drive should work for you now at https://igv.org/app-test.   Could you give it a try?

I haven't got to Genomes, Sessions, or Sample Info yet, only tracks.

Mark Cruickshank

unread,
Oct 1, 2025, 12:08:29 AM (yesterday) Oct 1
to igv-...@googlegroups.com
THANKS!

I can load the data, but when i zoom in to see reads i get the following error:


Screenshot 2025-10-01 at 12.06.32 pm.png

igv-help

unread,
Oct 1, 2025, 12:47:17 AM (yesterday) Oct 1
to igv-help
That's a bit disturbing.     I assume you picked the BAM and its index with the picker, then zoomed in?   Can you try clearing your cache for all data form igv.org and try again?

igv-help

unread,
Oct 1, 2025, 1:29:08 AM (yesterday) Oct 1
to igv-help
Are you trying to load sessions with links to google drive files?

igv-help

unread,
Oct 1, 2025, 7:36:43 PM (7 hours ago) Oct 1
to igv-help
Give it another try this evening / today whatever it is in your time zone.   Its hard for me to test because I apparently have enhanced permissions as one of the first to login to the app (igv-webapp).   Its a bit mysterious.

The URL again is https://igv.org/app-test/.    In addition to loading tracks and seeing data, I would be interested to know if you can "Bookmark" and refresh the page.   

And again the cache can be a problem, doing multiple refreshes or clearing the cache of everything igv.org might help.

If this still doesn't work email us at igv...@broadinstitute.org and we can discuss further steps offline.   

Mark Cruickshank

unread,
Oct 1, 2025, 11:16:37 PM (3 hours ago) Oct 1
to igv-...@googlegroups.com
Fantastic - my files on google drive are loading normally now.

I pressed the bookmark button - there was no response that i could notice. When I refresh the page my data is gone and it returns to the original state. Happy to check other things you need to test - let me know!

thanks again!

Mark

igv-help

unread,
12:17 AM (2 hours ago) 12:17 AM
to igv-help
Great!  The Google documentation looks nice but they leave out a crucial detail.    I think what we're doing is an unusual use case.

Curious about the Bookmark button.   You should see something like this.    If you're able to look at your javascript console for errors I would appreciate knowing if there are any.   There are errors triggered by the Google Picker itself, those are normal and don't seem to affect anythin.

I was asking about Bookmarking just to see if it allows you to restore the files for yourself (I can't trust the fact that I can do it).    That is probably not important for your course.   As mentioned previously, you won't be able to create sharable links for igv sessions with GDrive files.   For all practical purposes they are treated as local files, with the same rules and restrictions.

Here's what I see when I hit the igv-webapp "Bookmark" button (note, not your browser bookmark button)

Screenshot 2025-10-01 at 9.16.52 PM.png

Mark Cruickshank

unread,
12:33 AM (2 hours ago) 12:33 AM
to igv-...@googlegroups.com
I can see that dialogue box now. i've attached screenshots from console - do you want any text copied?

Screenshot 2025-10-02 at 12.30.15 pm.png
Screenshot 2025-10-02 at 12.31.05 pm.png
Screenshot 2025-10-02 at 12.31.00 pm.png
Screenshot 2025-10-02 at 12.30.53 pm.png
Screenshot 2025-10-02 at 12.30.45 pm.png

--

---
You received this message because you are subscribed to a topic in the Google Groups "igv-help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/igv-help/Rxvi0SOmacg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to igv-help+u...@googlegroups.com.

igv-help

unread,
1:08 AM (2 hours ago) 1:08 AM
to igv-help
Thanks, that is helpful.   Everything there looks normal.   If you refresh the page after hitting "Bookmark" and dismissing the message are the data files restored?  It should come back in the same state it was in when you "Bookmarked",  but I'm not sure Google Drive will allow reloading of the files.

Mark Cruickshank

unread,
1:14 AM (2 hours ago) 1:14 AM
to igv-...@googlegroups.com
after bookmarking then /refresh data files are not there and i need to sign in to Google Drive again to load files.

Thanks so much for all this. Will these changes be on https://igv.org/app/ or can i share the link to https://igv.org/app-test/  with my students? 

--

---
You received this message because you are subscribed to a topic in the Google Groups "igv-help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/igv-help/Rxvi0SOmacg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to igv-help+u...@googlegroups.com.

igv-help

unread,
1:33 AM (1 hour ago) 1:33 AM
to igv-help
OK, I suspected that might be the case. 

So Google Drive files are in all ways equivlent to local files, you can't bookmark or share references.

I will update igv.org/app tomorrow.

Mark Cruickshank

unread,
1:35 AM (1 hour ago) 1:35 AM
to igv-...@googlegroups.com
ok great thanks for the help, its much appreciated! cheers, Mark

Reply all
Reply to author
Forward
0 new messages