[BUGFIX] Fix GenerateRequestTokenListener for FE authentication
requested to merge github/fork/in2code-de/feature/fix-GenerateRequestTokenListener-for-fe into develop
Created by: julianhofmann
The event always generated a token for BE logins - but was also executed if an FE login (possibly also without oauth) was executed. This meant that all FE authentication failed.
A token for the correct scope is now generated based on the loginType
.