Getting Started Guide
...
Auto-Login Feature for Kron PA...
Example Scenario
2 min
to better understand these element properties, let’s inspect an example of a facebook login open http //facebook com in a web browser, right click on the screen, and click inspect click the network tab on the top of the screen then, on the facebook login screen, enter a test e mail and test password and then click login facebook will give an error because the test credentials are incorrect now let’s look in the inspection code to find the test e mail and password check the parameter’s name and configure it in the element type on the left column, there are post urls these should be configured in http auto login post url for facebook it is login so the http auto login post url parameter will be defined as /login the regex characters are needed since there could be other sub pages therefore, the post url always finishes with “ ” now, look for the test username and test password in the inspection code post url test username and test password are posted under specific containers in the login url in facebook, these parameters are email and pass these parameters will be defined in the http auto login username matcher template as email=$$value$$(&|$) and http auto login password matcher template as pass=$$value$$(&|$) these parameters will be used in the element type if these parameters are different, only the red pass and email part of the parameter definition should be changed the other part, “=$$value$$(&|$)” should remain the same in the definition to apply all changes made in the element type, you need to restart the http proxy restart the http proxy from the kron pam cli make an ssh connection to kron pam as root and run the command below systemctl restart http prox the last element type property is http bypass domain these are external domains from which the main web page loads some data and elements use the firefox browser to find the bypass domains open the facebook web page by using an http proxy on firefox the web page will be loaded incorrectly frames can be different, photos will not be shown, etc it means that some information or data coming from another domain is blocked because they are not allowed these domains are what we call bypass domains right click on the screen and click inspect then click the network tab and check the domain column if there are any other domains than http //facebook com, you need to add these domains as bypass domains this step should be repeated after the login page or any other page to find all bypass domains after adding all the bypass domains to http bypass domain, you must restart again with the command below systemctl restart http prox configure all of these parameters in the element type property as in the following figure