Skip to content

Credentials flow and token expiration #1195

@vectar7

Description

@vectar7

I'm reading the docs for o365 and I'm confused by this. The docs have a section about "authenticating with your own identity" and then it says:

At this point you will have an access token stored that will provide valid credentials when using the api.

The access token only lasts 60 minutes, but the app will automatically request new access tokens if you added the ‘offline access’ permission.

But offline access is only available as a delegated permission, not as an application permission. Can you please clarify if this module is supposed to automatically request a new access token after the current one expires (when using client credentials grant flow), or do I need to handle that myself? Right now it does not seem to be getting a new token when the first one expires.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions