Can I access the currently logged in user in /frontend with Yii::$app->user->identity from my /backend repository? Does replacing $app with $frontend do the trick?
I’m running the advanced template and our users log in in our /frontend, but now I need the user information in /backend to check authentication within an internal api. Can anyone help?