Skip to content
This repository was archived by the owner on Apr 15, 2019. It is now read-only.

Create a dialog for proxy authentication - Closes #460 #761

Merged
merged 2 commits into from
Sep 21, 2017

Conversation

slaweet
Copy link
Contributor

@slaweet slaweet commented Sep 20, 2017

Closes #460

To test this, you might need set up a proxy.

How to simulate http proxy on MacOS

Install squid with brew

brew install squid

Set the following contents to /usr/local/etc/squid.conf

auth_param basic program /usr/local/Cellar/squid/3.5.26/libexec/basic_ncsa_auth /usr/local/etc/squid/passwd
auth_param basic realm proxy
acl authenticated proxy_auth REQUIRED
http_access allow authenticated
http_port 3128
visible_hostname localhost

Set username (test) and password of the proxy

mkdir /usr/local/etc/squid
htpasswd -c /usr/local/etc/squid/passwd test

Run squid

/usr/local/sbin/squid -N

Set proxies In MacOS "System Preferences" -> "Network" -> "Advanced..." -> "Proxies"
screen shot 2017-09-20 at 15 48 50

Run Lisk Nano

npm run build && npm run start

Watch the access log if necessary.

tail -f /usr/local/var/logs/access.log

@slaweet slaweet self-assigned this Sep 20, 2017
@slaweet slaweet requested a review from reyraa September 20, 2017 15:22
Copy link
Contributor

@reyraa reyraa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Vit.

@slaweet slaweet merged commit bd48d51 into development Sep 21, 2017
@slaweet slaweet deleted the 460-proxy-authentication branch September 21, 2017 13:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants