Enable authentication when a non-default api_endpoint is set (just like the googleapis/nodejs-storage) #895
Labels
api: storage
Issues related to the googleapis/python-storage API.
status: investigating
The issue is under investigation, which is determined to be non-trivial.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Issue we're facing:
After version 2.1.0, authorization bearer token is stopped being sent to the custom endpoints (non-default api_endpoint), we forcefully needed to downgrade to the version 2.0.0 to make things work on our end. We had other option like explicitly passing credentials while instantiating the storage client, but this change was needed to be done in all places wherever the client is instantiated, so we just went to downgrade to the version 2.0.0.
Feature request:
Since this change feat: avoid authentication with storage emulator was intentional, can you please add a flag to enable the auth for custom endpoints something like in the googleapis/nodejs-storage?
A flag named useAuthWithCustomEndpoint was added in the nodejs storage client library to support the auth with custom endpoints. Just fyi, here are the code changes related to that flag.
Allow authentication with custom endpoint
Add support for useAuthWithCustomEndpoint option
The text was updated successfully, but these errors were encountered: