How to Authenticate My web application's backend APIs with Microsoft office word add-in?
I am trying to get an access token from word add-in and send it to my backend and authenticate the word user and connect the account with my web application's account. This is to link the user with their account in my web application.
I tried using:
Office.context.auth.getUserIdentityTokenAsync --> this is deprecated API, so it didnt work.
Office.context.auth.getAccessToken --> is not a function
Office.context.webAuth.getAuthContextAsync --> An internal error has occurred.
Comments
Post a Comment