-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: oauth for builder [ENG-493] #44
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
d8f31ad
to
2c6e1d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style
let resp: reqwest::Response = self | ||
.client | ||
.post(self.config.quincey_url.as_ref()) | ||
.json(sig_request) | ||
.bearer_auth(token.access_token().secret()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we also address tx pool oath in the same PR?
we don't necessarily need to worry about efficiency of streamlining to one oath call for both tx pool & quincey within the example builder but would be a nice-to-have if it were simple
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
currently we don't call the protected endpoints (/get-order(s)
) so there isn't anything to update. Adding the functionality itself would be outside the scope of this
d257ea1
to
7265e3a
Compare
7265e3a
to
a267157
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems tests are failing?
a267157
to
b3147ac
Compare
b3147ac
to
8e68614
Compare
TL;DR
Added OAuth2 authentication for the builder's communication with Quincey.
What changed?
How to test?
Why make this change?
This change enhances the security of the communication between the builder and Quincey by implementing OAuth2 authentication. It ensures that only authorized builders can interact with Quincey, improving the overall security posture of the system.