browser-samples
browser-samples copied to clipboard
Two questions about Metadata Displayer Example
Hello,
I need some assistance with this sample project.
First, can anybody explain the purpose of this line?
https://github.com/googleworkspace/browser-samples/blob/60774d9d6718dd0e3e8d8595e5b2b385cf27d377/drive/metadisplayer/metadisplayer.html#L41
Second, when implementing the client ID, I enter the Google Cloud Shell dev https address in the URL configuration, but it doesn't seem to work....
Accessing the Cloud Shell Web Preview shows this web page:
Metadata Displayer Example
{
"error": "idpiframe_initialization_failed",
"details": "Not a valid origin for the client: https://8080-cs-523946987037-default.cs-europe-west1-itbg.cloudshell.dev has not been registered for client ID 572678367491-6ltvbiv4j654fcid28h29jpgq4qk7kie.apps.googleusercontent.com. Please go to https://console.developers.google.com/ and register this origin for your project's client ID."
}
