OneNoteDev / OneNoteApi

JavaScript library to make calling the OneNote API easier.
MIT License
81 stars 17 forks source link

Can a OneNote taskpane support SSO? #63

Open Admiral-Skye opened 1 year ago

Admiral-Skye commented 1 year ago

I have tried creating a new taskpane and including a WebApplicationInfo element in the manifest using the same credentials as my Word/Excel/PPT add-in and set the taskpane to load the same url.

When I open the taskpane in onenote after uploading the add-in manually I see the following error in the console: TypeError: Office.auth is undefined

However as far as I can tell from the doco here: https://learn.microsoft.com/en-us/javascript/api/office/office.auth?view=common-js this should be available to me?

I would like my taskpane to be able to use the same authentication mechanisms for OneNote as the other office apps.

softdev629 commented 1 month ago

Hi, @Admiral-Skye ! Did you solve the issue?

Admiral-Skye commented 1 month ago

Sadly no