OfficeDev / office-js-helpers

[ARCHIVED] A collection of helpers to simplify development of Office Add-ins & Microsoft Teams Tabs
MIT License
126 stars 56 forks source link

office-js-helper #63

Closed davallen closed 6 years ago

davallen commented 6 years ago

I have been trying to implement a custom app in Teams. As part of the app i am making a call to an external web API. I am trying to use the office-js-helpers library to obtain a id_token, but I am seeing that the _handleTokenResult does not handle the id_token responsetype result, even though the library allows for providing a responseType. Am I missing something obvious? Or is not supporting this auth pattern intentional within the library. Also, i am using this library to handle the team situation with the popup as opposed to hidden IFRAME that the adal.js library uses.

WrathOfZombies commented 6 years ago

@davallen Let me take a look and get back to you on this.

WrathOfZombies commented 6 years ago

@davallen Could you provide me a sample solution where you are seeing the problem so that I can get a clear repro?