Hi,
To give context first, I have an external auth system which creates a session cookie with the JWT when auth . is succeesfull. cookie created is JWT , in /
I would like to trigger an autoaction to automatically login the user into joomla, when he is NOT already.
To do so, I have created the following :
trigger : joomla_on AfterRoute ( all the time , I will reduce the scope later )
conditions ( see attached screenshot ):
- when the session cookie JWT is not empty
- when the session cookie "joomla_user_state" is existing , meaning no joomla user is logged-in
I tried several options for "joomla_user_state" as syntax :
- [cookie_joomla_user_state]
- [cookie_JOOMLA_USER_STATE]
and several operators ( equal to -> logged_in , contains -> log ..etc ...)
but nothing is working. as [cookie_JWT] is working, I don't get why it is not for this other cookie
anything I'm missing ?
thanks