Skip to content

Commit

Permalink
Merge pull request #31 from lemoncloud-io/feature/louis-update-calcSi…
Browse files Browse the repository at this point in the history
…gnature

fix: fix missing identityToken in signature calculation
  • Loading branch information
louis-lemon authored Aug 29, 2024
2 parents 812dee7 + f1cc9a4 commit 3e70b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const calcSignature = (
const authId = payload.authId || '';
const accountId = payload.accountId || '';
const identityId = payload.identityId || '';
const identityToken = '';
const identityToken = payload.identityToken || '';

//! build payload to sign......
const data = [current, accountId, identityId, identityToken, userAgent].join('&');
Expand Down

0 comments on commit 3e70b7b

Please sign in to comment.