Bug #81592

Session data lost after authentication

Added by Paul Ilea 10 months ago. Updated about 1 month ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2017-06-16
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

Session data set by the (custom) Authentication Service classes in lost after the authentication. I think it's because the session data is read before the service class methods are called and if the previous session was 'anonymous', the first read data (before the authentication services are called) is saved to the new session.
I've added a possible patch in the form of a diff file attached to this issue ticket. With this changes the 'anonymous' session is read once again right before the authenticated session is created.

fixSessionDataLossAtAuthentication.diff View (958 Bytes) Paul Ilea, 2017-06-16 11:50

History

#1 Updated by Sybille Peters about 1 month ago

Thank you for your report.

Even though it has been some time, would you consider checking if your patch idea is still up to date and upload it to our Gerrit review server?

Someone could do this for you, but I am thinking you might like the opportunity to contribute to TYPO3 yourself.

You can find a description of the TYPO3 contribution workflow here: https://docs.typo3.org/typo3cms/ContributionWorkflowGuide/

Hint: If you get stuck anywhere, ask on Slack in the #typo3-cms-coredev channel. You can register in the TYPO3 slack workspace here: https://forger.typo3.com/slack

Thank you in advance!

Also available in: Atom PDF