I’m experiencing difficulties with my backend bucket setup in Google Cloud Platform where files are not accessible as expected.
Overview:
I configured a backend bucket on my load balancer and linked it to the path /__/auth/
. The bucket contains a file named handler
, which should be publicly accessible. However, when I try to access /__/auth/handler
, I encounter an error XML stating:
<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
</Error>
Details of My Setup:
- I have created a bucket backend with various caching settings and permissions allowing
allUsers
to view storage objects. - The bucket has a file called
handler
with typeapplication/octet-stream
, and it is marked as public in the GCP console. - I have set the appropriate URL mapping for the load balancer directing to
/__/auth/*
.
I am trying to host Firebase’s authentication files to use for an OAuth redirect, as per Google’s recommendations. Can anyone explain why the bucket backend does not seem to find my files? Also, am I following the correct method for handling OAuth redirects using this configuration?