Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Calling Joomla Authentication plugin to login user in a page outside of joomla?

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?

like image 453
San Avatar asked Nov 29 '25 03:11

San


1 Answers

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)

like image 180
Brent Friar Avatar answered Dec 02 '25 05:12

Brent Friar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!