![]() |
Integrate Json authentication into codeigniter website - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Integrate Json authentication into codeigniter website (/showthread.php?tid=64554) |
Integrate Json authentication into codeigniter website - andymike - 03-03-2016 Hi, I current have a Codeigniter 3 framework website (called external system), and I just purchased a helpdesk php script that include 2 files Json Authentication that help connect with external system. My purpose is when users go to helpdesk and login, they need to use my current website login information, so they dont have to sign up again (in this way, the user information of helpdesk and my Codeigniter script can keep the same). Backend of helpdesk has some fields that need to provide like: url, site id, authentication key, create users on login. Helpdesk script has 2 files and they need to be uploaded to external system, index.php and Authclass.php. Authclass.php is just class and function (no need to customize this). So i think Authclass.php will need to upload to library folder in Application of Codeigniter. The code of index.php is below. Can anyone please help me or suggest where upload these files to codeigniter folder and how to modify to make it work? Thank you so much Code: <?php |