Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[storage-mirror-firestore] Generated image links result in an error #54

Closed
dackers86 opened this issue Jun 9, 2021 · 2 comments
Closed
Assignees

Comments

@dackers86
Copy link
Collaborator

Expected Behavior

The user should be successfully redirected to the storage object.

Actual Behavior

A http error will occur, an error message should will resemble...

{
  "error": {
    "code": 401,
    "message": "Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object.",
    "errors": [
      {
        "message": "Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object.",
        "domain": "global",
        "reason": "required",
        "locationType": "header",
        "location": "Authorization"
      }
    ]
  }
}

Steps to Reproduce the Problem

  1. Upload an example to generate a mirrored storage object.
  2. Inspect the Firestore database and located either a media or selfLink url.
  3. Click to follow the link

Specifications

  • Extension name: storage-mirror-firestore
  • Version: 0.1.0
@dackers86
Copy link
Collaborator Author

After researching this issue appears to be a separate issue to the extension. Auth is required when accessing the image externally, the following solutions have been researched...

  • The bucket can be made public.
  • Auth headers can be sent with the request.

Could this a potential documentation update?

@dackers86
Copy link
Collaborator Author

Closing as not related to extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant