Skip to content

Feature Request: Support for IBKR OAuth 2.0 Authentication #102

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

Open
climbercarmich opened this issue May 7, 2025 · 2 comments
Open

Feature Request: Support for IBKR OAuth 2.0 Authentication #102

climbercarmich opened this issue May 7, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@climbercarmich
Copy link

climbercarmich commented May 7, 2025

Hi ibind maintainers,

The "Advanced OAuth 1.0a" docs mention asking for info on OAuth 2.0 implementation. Based on recent IBKR documentation and communication, it seems they support OAuth 2.0 via the private_key_jwt method (RFC 7521/RFC 7523), using the https://api.ibkr.com/v1/api endpoint. (As an eligible business user, I'm currently onboarding with IBKR for this and might be able to provide more specifics later).

Adding support for this could potentially:

  • Allow users with eligible accounts (currently business/institutional, possibly wider later) to run ibind in headless/automated environments without the gateway.
  • Offer an alternative to the current OAuth 1.0a method, which relies on the unmaintained pyCrypto library.

Is supporting this OAuth 2.0 flow something the ibind project might consider, or are there existing plans related to it?

Thanks for any information!

@climbercarmich climbercarmich added the enhancement New feature or request label May 7, 2025
@salsasepp
Copy link

Hi, thank you for bringing this up. Yes, ibind maintainers would greatly welcome any OAuth 2.0 contribution. Please see this related issue #87. Essentially, for lack of publicly available information, this can only be tackled if somebody can provide documentation and testing for OAuth 2.0, and ideally a pull request. In case you could do any of that, very much appreciated!

@climbercarmich
Copy link
Author

Ok, as I get more info I will have a go at implementing this into ibind or at the least provide more info to help the implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants