You need to import the current_user
which will reflect the currently authenticated user for the current request.
from flask_security import current_user, auth_token_required
@app.route('/')
@auth_token_required
def view():
print current_user.id