I am using Flask-Security to set up user authentication for my app but I am struggling with getting the email address or ID of the currently logged in user so I can query a table with that particular users details. I’ve just using the standard code. Another question here suggested the following but it didn’t work: Standard code: Answer You