#Node.js addin development
Explore tagged Tumblr posts
Link
Node.js is an open-source runtime environment that went to make huge in the market. With many other JavaScript-based applications making a dignified wave of popularity across the market, it manifest the power to build highly scalable applications and is widely used to create faster and reliable tools and apps.
0 notes
Text
API getAccessTokenAsync gives Token with empty payload
Hey all, I am actually doing plenty of stuff with Office Addins, following the guides and patterns Microsoft is giving especially for the use of the new Identity API in the Office clients for an SSO experience. Everthing is fine on the dev stages, after some wrapping my head arou...
"API getAccessTokenAsync gives Token with empty payload" by Carsten Büttemeier originally published November 6th 2018 in Office 365 topics
Hey all,
I am actually doing plenty of stuff with Office Addins, following the guides and patterns Microsoft is giving especially for the use of the new Identity API in the Office clients for an SSO experience.
Everthing is fine on the dev stages, after some wrapping my head around the concepts I have my React app as Word/Outlook Addin with Node.js/Expressjs middleware and plenty other stuff that does not matter here.
When bringing this from Dev to Prod, I struggle with a strange effect in the customers Office 365 tenant that prevents a decoding of the token one gets from the Office client on the users side ( see https://docs.microsoft.com/de-de/office/dev/add-ins/develop/sso-in-office-add-ins#add-client-side-co... for reference, we are talking about getting the local token as starting point for a AAD V2 endpoint authentication by calling Office.context.auth.getAccessTokenAsync()). After a lot of debugging I figured out that the token does not contain the data it should have and therefore is not able to be decoded in the middleware. Looks something like this:
Token in our very own Office tenant -> Screenshot 1
Token in customer tenant -> Screenshot 2
As one can see the whole payload is empty. I can't do much more here than calling the JavaScript method and make sure the API is loaded (works as I get at least something). Has anyone an idea what is happening here?
Read Full Post
0 notes
Link
At iFour Technolab, the Node.js is used as one of the significant platforms for developing various types of applications. As a leading Node.js software development company in India, we provide excellent application development services including web application, mobile application, network applications, real-time applications, etc.
0 notes