Skip to content

Commit

Permalink
remove aud from message
Browse files Browse the repository at this point in the history
  • Loading branch information
llbartekll committed Sep 12, 2023
1 parent 5a738f6 commit 232d5fb
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ struct NotifyMessagePayload: JWTClaimsCodable {

/// `did:key` of an identity key. Enables to resolve associated Dapp domain used. diddoc authentication key
let iss: String
/// Blockchain account `did:pkh`
let aud: String
/// Blockchain account that notify subscription has been proposed for -`did:pkh`
let sub: String
/// Dapp domain url
Expand Down Expand Up @@ -56,7 +54,6 @@ struct NotifyMessagePayload: JWTClaimsCodable {
exp: expiry(days: 1),
act: Claims.action,
iss: dappAuthenticationKey.multibase(variant: .ED25519),
aud: account.did, // TODO: Should we remove or merge with msg?
sub: account.did,
app: app.did,
msg: message
Expand Down

0 comments on commit 232d5fb

Please sign in to comment.