Originally posted at https://www.xomino.com
In this article I will describe a simple process for generating and storing an O365 token from within an Office Add-in.
In the previous article I described the github project and sample code for creating and getting an Office 365 OAuth Token for use in an Office Add-in. This was an improvement on the previously accepted method for getting a token which required additional services and knowledge of C#. The biggest issue encountered was that the normal OAuth Token process when you log into Office365 takes you through multiple domains. When this happens in the Office Client Add-ins the user is thrown into a separate Internet Explorer. The generated token can then no longer be passed to the Add-in for programmatic use.
This article described how the issue has been overcome and the release of the new simplified code.
The same approach, but a new approach
As discussed in this article it is possible to access more than…
View original post 359 more words