Skip to content

Authentication Token Management

RogerSelwyn edited this page Jun 1, 2024 · 2 revisions

Token Creation

When new authentication is requested (either via initial configuration or via a request to re-configure), a dialogue is presented with a link to the standard MS authentication/authorisation process. This will differ slightly depending on whether the primary/alternate process is used. It results in a url being provided back to the integration from which the token can be retrieved and stored.

The token file includes:

  • All permissions granted on the Azure app - not just those required and requested by the integrations configuration
  • Access token
  • Refresh token

Access Token Renewal

The python-o365 library automatically manages token renewal when any call is made and an updated token is stored in the file location as documented in the integration docs.

Clone this wiki locally