Event trigger inside Outlook Addin when Outlook logout or close

RAVI TEJA GUGGILAM 0 Reputation points
2024-05-28T03:40:39.7866667+00:00

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 logout from SSO as well.

Outlook
Outlook
A family of Microsoft email and calendar products.
3,403 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,709 questions
0 comments No comments
{count} votes