@Roberto Zilli Have you had a chance to look at the "Authentication and authorization" section of the Office Add-ins documentation? Let us know whether or not this helped.
Overview of authentication and authorization in Office Add-ins
Enable single sign-on (SSO) in an Office Add-in
Create an ASP.NET Office Add-in that uses single sign-on