Once again I created my own authentication service. This is registered and is also called. After submitting the login form (EXT:felogin) you get back to the same page - but Felogin continues to show the login form. After a page reload, the logged-in state is recognized correctly and the status display is displayed. The same form works correctly with a normal, local FE user.
When debugging authUser() correctly returns 200.
What could that be?
Besides returning
200byauthUser(), having a valid FE-User (at least with uid, pid, username, usergroup) is necessary. My FE-User was broken.TYPO Documentation - Authentication services: