question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for http proxy

See original GitHub issue

Looking at the code there is no way to set up an http proxy for AuthAPI to use. Would like to be able to set proxy (URL or host/port) on the AuthAPI object. The code I was reviewing is in AuthAPI constructor:

         client = new OkHttpClient.Builder()
                .addInterceptor(logging)
                .addInterceptor(telemetry)
                .build();

Please let me know if I’m missing something here. Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jcd006commented, Sep 4, 2018

@lbalmaceda We have a similar requirement to call Auth0 through a forward proxy for ManagementAPI and AuthAPI.

Can the httpclient be exposed through a constructor so that I can set my own proxy?

1reaction
sbityakovcommented, Nov 27, 2017

OK, thanks for the response. I’ll roll my own for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTTP Proxy Support - Proxifier
HTTP proxy servers can process HTTP connections (port 80). They can also support HTTPS connections (SSL) but usually such connections are only allowed...
Read more >
Proxy servers and tunneling - HTTP - MDN Web Docs
When navigating through different networks of the Internet, proxy servers and HTTP tunnels are facilitating access to content on the World ...
Read more >
What Is HTTP Proxy and How Does It Work? - Oxylabs
The HTTP proxy can essentially be described as a high-performance content filter that traffic flows through to reach you. In other words, it...
Read more >
About the HTTP-Proxy - WatchGuard Technologies
The HTTP-proxy is a high-performance content filter. It examines Web traffic to identify suspicious content that can be a virus or other type...
Read more >
HTTP proxy - SpinetiX Support Wiki
An HTTP proxy acts as a high-performance content filter on traffic received by an HTTP client and HTTP server. The HTTP proxy protocol...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found