-
Notifications
You must be signed in to change notification settings - Fork 125
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
chopper base.dart send() authenticate sending wrong request #492
Comments
Yes the authenticate call is not passing in the intercepted request. Original: We could potentially have something wrong but that request object is passed through twice. Changing this value to |
I see. Thank's for the input! Can you please try out the changes I have made in the PR #497. Add this to your dependency_overrides:
chopper:
git:
url: https://github.com/techouse/chopper.git
ref: fix/492-authenticator-req-request
path: chopper In this PR I've re-implemented the fix of #390 by checking if the |
Looks to be reauthenticating properly and the Headers are being passed back to our override functions. Thanks! I'll keep an eye out on the updates and get this implemented when it gets updated |
@ssierputowski11 v7.0.6 just landed on pub.dev :) |
See 5.1.0 to see the authenticate is using the req object.
See 5.2.0 and authenticate is using request object
See latest and similar result as above.
Is this by design? I saw another issue #308 that brings this up as well. I used that fix locally and it solved it as well.
Could this be addressed if it is a bug?
The text was updated successfully, but these errors were encountered: