-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
Remove authentication on a specific request #402
Comments
Maybe you could do it with a class NullAuthenticator implements Authenticator
{
public function set(PendingRequest $pendingRequest): void
{
}
} And then when you want to make the auth-free call: $api->authenticate(new NullAuthenticator()); |
Hey @labomatik I have just released v3.9.0 which includes the above PR made by @patrickcarlohickman. Would you be able to try the |
Hello, Sorry for being late on this... I just validated and it seems that the nullAuthenticator doesn't erase all previous auth mechanism, the API we are using is still pinpointing an issue with a mixed auth... |
Changing the authenticator won't affect the Would you be able to provide the implementation for your Thanks, |
Thanks @patrickcarlohickman after a review on the AttachFileToJob i just found this:
And now it's working :-) Thanks for the support |
I would like to remove the authentication on a specific request while the connector is using OAuth
The request to the API is the following:
The last step is actually sending an error when we push to AWS "Only one auth mechanism allowed;" since we are using an API key on that step
Is there a way to remove from the connector the Authentication?
The text was updated successfully, but these errors were encountered: