- Pre-requisites
- Tasks
Sign in to your laptop or desktop computer on your company network. Make sure that you have access to the domains associated with Amazon WorkLink.
Install the wget command on your computer.
OSX
1. Install HomeBrew with the following command.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)
2. Install wget with the following command.
brew install wget
Windows
Follow the steps in this guide to install wget on your Windows computer.
Linux
Run the following command in your terminal.
sudo apt-get install wget
1. Open terminal.
2. Enter the wget command for the domain that you want to associate with Amazon WorkLink.
wget {ASSOCIATED_DOMAIN} 2>&1 | grep Location:
The following example demonstrates a wget command response that includes a redirect.
~ user$ wget https://example.com 2>&1 | grep Location: Location: https://example_signin.com/xyzpath [following]
Because the wget command returned a location parameter, the website request for https://example.com re-directs to https://example_signin.com. For the page request to succeed in Amazon WorkLink, you will need to add https://example_signin.com to the list of domains associated with Amazon WorkLink (link).