i am making my own component in joomla which provides me login through external site.
Last issue i need to solve is just login. When i just trigger onUserLogin event by:
$dispatcher->triggerEvent('onUserLogin', array($response, $options));
It works! but login me only to front-end section to joomla page.
What i have to do to login to back-end section? Is there any trick which would help me, for example manually create session and insert to db?
If not, what plugin method do i have to override?