Skip to content

Http Proxy support? #12

Description

@bemar76

Hello,

how can I get support for http proxy?
I did not find another way than having code changes in the sdk modul to get OkHttp to use proxy.

Thank you

Benjamin

Activity

  1. AaronAtDuo commented on Aug 25, 2021

    @AaronAtDuo
    Contributor

    @bemar76 We definitely have plans to add proxy support to this, as well as the other languages' Duo Universal clients. Unfortunately, that's not quite at the top of our priority list at the moment, so I can't give you a good estimate on when that might happen.

  2. bemar76 commented on Aug 26, 2021

    @bemar76
    Author

    @AaronAtDuo
    I've implemented it already because we have a proxy infrastructure in our company. If your are interested for the code, let me know.

  3. AaronAtDuo commented on Sep 8, 2021

    @AaronAtDuo
    Contributor

    @bemar76 We'd definitely be interested! If you've got a fork with the change, or want to put together a PR, etc. we'd definitely take a look.

  4. bemar76 commented on Oct 5, 2021

    @bemar76
    Author

    Hallo Aaron,

    you can find my approach here

    https://github.com/bemar76/duo_universal_java/

    Sorry for choosing wrong character set.

  5. AaronAtDuo commented on Oct 19, 2021

    @AaronAtDuo
    Contributor

    I'll take a look! We'll see when we can get proxy support prioritized. It'll probably be after we add a couple more languages though.

    Thanks for the note.

  6. LMCO-Richard commented on Aug 11, 2022

    @LMCO-Richard

    @AaronAtDuo @bemar76 I don't see a pull request was made. @bemar76 code with proxy added works for me. Can we make a pull request and get this added?

  7. LMCO-Richard commented on Aug 11, 2022

    @LMCO-Richard

    @AaronAtDuo Also, could you please upgrade the com.auth0.java-jwt dependency to the latest version as one of its transitive dependencies Apache Commons Codec introduces breakage with new versions of Apache Commons Codec. In the latest version of com.auth0.java-jwt, the transitive dependency Apache Commons Codec has been removed.

  8. AaronAtDuo commented on Aug 18, 2022

    @AaronAtDuo
    Contributor

    @LMCO-Richard I'll see what I can do. It looks like in the latest version (4.0.0) they changed the signature of something we use, so it's not a simple pom-only update...

  9. AaronAtDuo commented on Aug 18, 2022

    @AaronAtDuo
    Contributor

    Ok #19 is in for the dependency update, fingers crossed that it passes CI.

  10. AaronAtDuo commented on Aug 30, 2022

    @AaronAtDuo
    Contributor

    @LMCO-Richard Commit 0febdbf updates the JWT library dependency.

    HTTP proxy support might take a bit longer - do you want to wait for that, or should I do a release with just the dependency change?

  11. LMCO-Richard commented on Aug 30, 2022

    @LMCO-Richard

    @AaronAtDuo Thank you for addressing the dependency issue. Yes, I'd like to wait for the HTTP proxy support. I believe it should be pretty straightforward as @bemar76 already has all the required code changes in his repo. Thanks again!

  12. bemar76 commented on Oct 10, 2022

    @bemar76
    Author

    You're welcome. Proud do have some of my code inside this amazing project.

  13. eosmith commented on Oct 27, 2023

    @eosmith
    Contributor

    @AaronAtDuo I've incorporated the http proxy server support from the excellent fork by @bemar76 into my own fork from the the most recent version of this project and submitted a pull request. Our team at Carnegie Mellon would greatly appreciate it if Duo would approve this request so we don't have to maintain a separate project from yours that offers proxy server support. It appears from the comments that others would benefit as well. Thank you for your consideration.

  14. AaronAtDuo commented on Oct 27, 2023

    @AaronAtDuo
    Contributor

    @eosmith I definitely plan to look this over and try to get it merged next week.

  15. litesam commented on Apr 26, 2024

    @litesam

    Hey Aaron, I am also facing this issue when can we expect the proxy support.

    In the meantime do you have any alternative way to configure the proxy to the Duo client?

  16. JeyaGuru127 commented on Feb 9, 2025

    @JeyaGuru127

    Team, I can see that HttpProxy is supported from Version 1.2.0, but I couldn't find support for proxy authentications. Is it possible to set proxy username and password someother way to Duo Client ?

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions