Skip to content

[Feature Request] Support refreshing Client Assertion #977

@CodyPolton

Description

@CodyPolton

MSAL client type

Confidential

Problem Statement

Our company is starting to look at using SPIFFE/SPIRE to generate short lived tokens that we are using as our client assertion. We are currently needing to write our own implementation to retrieve a new Token when the original client assertion expires.

Proposed solution

It looks like this functionality has been added to the dotnet version as the WithClientAssertion function. Would be useful to have something similar as a callback function whenever the client assertion expires.

Alternatives

Currently we have had to move away from the msal4j library and handling making call to generate a token and caching it as well as handling when the client assertion expires, but seems like this functionality would be useful in the msal4j library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementA request or suggestion to improve some aspect of the libraryconfidential-clientFor issues related to confidential client apps

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions