Persistent authentication - how to?
-
larpo
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 5
-
Thank you received: 0
-
-
9 years 8 months ago #3778
by larpo
Excellent - thank you. Look forward to seeing it.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
-
larpo
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 5
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 8 months ago #3783
by admin
Hi,
as I already told in this 3d, I tried to support the token. I have checked it again now and I can (unfortunately) confirm that there is no "clean" way to do this. Joomla inits the session before to trigger any event, and the session initialization sets and uses the cookie.
Your example allows the authentication with a token, but the problem is not with the authentication itself, we can login the user in any way. The problem is with the user's session which is retrieved by Joomla using only the session cookie. So I should authenticate the user on each request and however the saved state is not available (no previous state, no history, no transactions).
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
Time to create page: 0.153 seconds