This scripts automates logging in to Citrix Workspace(currently designed just to work with Cisco CMS Citrix).
Following apps should be installed already on the machine:
- Python3 (Tested on 3.10.0 or higher)
- Citrix Workspace
- Google Chrome browser
- In the .env file, add your Citrix URL, CEC username, password and Citrix password.
- Create a python virtual environment.
python3 -m venv .venv - Activate a python virtual environment.
source .venv/bin/activate - Install the required packages from requirements.txt file.
pip3 install -r requirements.txt - Run the python script.
python3 citrix_logging.py
NOTE: The SSO DUO Push should be completed manually within two minutes. The script picks up automatically after the DUO Push completion.
You can set up an alias in you specific shell config and initiate login process from anywhere inside the terminal:
alias citrixlogin='cd /path/where/you/cloned/this/repo; source .venv/bin/activate; python3 citrix_logging.py'