Skip to content

[Feature Request] Specify token lifetime #773

@mbearup

Description

@mbearup

MSAL client type

Confidential

Problem Statement

As we work to harden our resources, one thing we've been investigating is token lifetime. We found that when we request a token using MSAL's acquire_token_for_client, we get back a token with a lifetime of one day. We'd really like to trim this back to 1-2 hours, but there seems to be no option to do so in MSAL/ConfidentialClientApplication.

Is there a plan to address this in the future, or is token lifetime managed some other way?

Proposed solution

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions