I have a page outside joomla, but i am using joomla framework, i need to import system Authentication plugin to login a user manually. How do I call system auth plugin and manually login a user?
You can do it 2 ways - by loading the Joomla framework on to the page so you have access to create the necessary token, or you can use cURL to create the session and submit the login remotely. Here's the code for the cURL method: Logging In To Joomla 1.5 Using External Form (not within joomla folder, but on same server)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With