Starting today, I can no longer view data via the Google Brain Maps API on https://neuroglancer-demo.appspot.com. As of now, the deployed version is: a345705
Specifically, when adding a raw layer from a brainmaps:// source:
- Neuroglancer shows the "Request login." button.
- The Safari JavaScript console shows: "[Error] Blocked a frame with origin "https://neuroglancer-demo.appspot.com" from accessing a frame with origin "https://accounts.google.com". Protocols, domains, and ports must match."
- After pressing the "Request login" button, the same dialog and button is shown again. Steps 1--3 can be repeated multiple times.
- The UI and JavaScript console show: "[Error] Failed to load resource: the server responded with a status of 401 () (meshes, line 0)" for the resource "https://brainmaps.googleapis.com/v1beta2/objects/OBJECT_ID_OF_RAW_LAYER/meshes".
I find it surprising that Neuroglancer is trying to get the /meshes endpoint for a raw layer. However, the authentication issue is presumably due to the error in step 2.
Actually, the authentication seems to work. In the "new layer" dialog, after typing "brainmaps://", a "Request login" button is shown. Pressing this button then produces the list of projects and datasets.
Additional context:
- The problem phenotype can be reproduced in Google Chrome, but without an error message equivalent to step 2.
- Viewing raw layers still worked around 24 hours ago.
Starting today, I can no longer view data via the Google Brain Maps API on https://neuroglancer-demo.appspot.com. As of now, the deployed version is: a345705
Specifically, when adding a raw layer from a brainmaps:// source:
I find it surprising that Neuroglancer is trying to get the
/meshesendpoint for a raw layer.However, the authentication issue is presumably due to the error in step 2.Actually, the authentication seems to work. In the "new layer" dialog, after typing "brainmaps://", a "Request login" button is shown. Pressing this button then produces the list of projects and datasets.
Additional context: