I require a script through which usre can Login into a portal through the given username and password in PHP. You can use any automation scripting language which can be run in a browser.
Ultimately I want the following flow for my end user:
1. Client login into the system.
2. Click click on "Login to thirdparty system" button.
3. System will fetch logged in users' credentials (Credentials of third party system. Credentials will already be stored in the database) from database and then system will redirect user to the login page of third party system, the system enters the credentials fetched from database and click on Login button.
4. Client will login into the third party system (without entering credentials. Because credentials are entered by the automated script).