Get user attribute during authenticated user session via nam jsp page

Hi guys,

do you know how can I get some user attribute (like email, first name, last name) from an authenticated user session? I'm following this customization "" and I need to get the email user attribute to use it in QR Code initialization.