My organization has a Shibboleth/IDP service set up. Now that I am getting involved, I am first setting up my own basic IDP on a test server to learn the ropes. In order to test functionality, I want to be able go to one of our production sites and -- if accessing it from my workstation in the office -- have the login be redirected to my IDP instead of the main production IDP. I think I should be able to do this locally without affecting anyone else by editing IP routing rules on my machine in /etc/hosts/
or iptables
, but I'm not sure how and I'm pretty new.
Basically, I'm wanting to add a condition locally on my machine such that if I try to access https://productionsite.domain/secure/login
, my local routing rules redirects me to my own IDP. Is this possible?
You should simply do the following step:
Remember that: