Skip to content

Per-request authentication is ignored #48

Closed
@beingryu

Description

When initializing new request (especially for batch request) with Request#new, we can specify :authorization and :authenticated options.

However in APIClient#execute the authorization object is being overwritten as the APIClient's authorization because the options object is set to an empty Hash.

Usually we can walkaround this problem by specifying API call request to APIClient#execute instead of creating a Request, but for Batch it is not possible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions