Skip to content
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: Proxy authentication #2354

Merged

Conversation

abdullahercan
Copy link
Contributor

Pull Request: Feat: Added Proxy Authentication

Changes proposed in this pull request:

  • Added support for proxy authentication when connecting to the repository using wppconnect.
  • Proxy configuration includes:
    • Proxy URL
    • Username for authentication
    • Password for authentication
  • Updated the connection flow to support proxy configuration as part of the .create() method in wppconnect.

Example Usage:

wppconnect
  .create({
    proxy: {
      url: 'http://proxy.example.com',
      username: 'username',
      password: 'password',
    },
  })
  .then((client) => start(client))
  .catch((error) => {
    console.log(error);
  });

This new functionality allows users to connect to the repository through a secure proxy, enabling better access control and security in environments requiring a proxy connection. The provided example demonstrates how to configure and use the proxy within the application.

@abdullahercan abdullahercan changed the title Proxy authentication feat: Proxy authentication Sep 30, 2024
@icleitoncosta icleitoncosta merged commit f0f0406 into wppconnect-team:master Oct 24, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants