Skip to content
This repository was archived by the owner on Mar 16, 2021. It is now read-only.
This repository was archived by the owner on Mar 16, 2021. It is now read-only.

ClientCredentialProvider is not thread safe #56

@mrharindra

Description

@mrharindra

In getAccessToken() method

if access token is expired then all threads will renew the token.

Also if 1st thread get new token, update the start time and then 2nd thread comes (before updating the access token by 2st thread)
in this case 2nd thread get old access token

AB#7122

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions