Skip to content

Commit

Permalink
remove token logging and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
KarishmaGhiya committed Dec 6, 2022
1 parent a77babd commit 14e2e3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
11 changes: 4 additions & 7 deletions sdk/identity/identity/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
# Release History
## 3.1.2 (Unreleased)

### Features Added

### Breaking Changes
## 3.1.2 (2022-12-05)

### Bugs Fixed

- Enable msal logging based on log level specified by user.
- Fixed bug in `ManagedIdentity Credential` where "expiresInSeconds" was taking the absolute timestamp instead of relative expiration time period in seconds.
### Other Changes

- Upgraded version dependencies on msal libraries, since they have additional logging enabled.
- Enable msal logging based on log level specified by user for Azure SDK.
- Upgraded version dependencies on msal libraries, since they have additional logging added.

## 3.1.1 (2022-11-18)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ export class ManagedIdentityCredential implements TokenCredential {

if (resultToken) {
logger.info(`SetAppTokenProvider has saved the token in cache`);
logger.info(`token = ${resultToken.token}`);

const expiresInSeconds = resultToken?.expiresOnTimestamp
? Math.floor((resultToken.expiresOnTimestamp - Date.now()) / 1000)
Expand Down

0 comments on commit 14e2e3b

Please sign in to comment.