OfficeDev/office-js

Event trigger inside Outlook Addin when Outlook logout or close or addin close

Closed this issue · 3 comments

We are using SSO for our ADDIN in outlook using OfficeRuntime JS. We created our own token using below steps.
step 1-> Read the Token from

OfficeRuntime.auth.getAccessToken({ allowSignInPrompt: true, })
step 2-> Passing the received token to our backend systems to get the new token from graph API's

step 3-> using the new token to validate the API( Application Backend API's) and renew it when it expire ( using refresh_token mechanism)

Problem is: When Outlook Close / Addin Close / Outlook Signout our new token ( generated by step 2) is active. So, looking for solution when Outlook Close / Addin Close / Outlook Signout any event trigger is available to get info inside Add-in.

Unfortunately, we do not support any events to be triggered on Outlook/ Add-in Close/ Outlook Signout. This will be considered as a new feature request.
We track Outlook add-in feature requests on ourTech Community Page. Please submit your request there and choose the appropriate label(s). Feature requests on Tech Community are considered, when we go through our planning process.

This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins!

This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue.