Skip to content

Commit

Permalink
Merge pull request #24 from burnt-labs/fix/change-jwt-response
Browse files Browse the repository at this point in the history
Item 12: jwk proper query response #200
  • Loading branch information
ash-burnt authored May 21, 2024
2 parents 91329a5 + 2455587 commit b467727
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion account/src/auth/jwt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ struct Claims {
}

#[cw_serde]
struct QueryValidateJWTResponse {}
struct PrivateClaims {
key: String,
value: String,
}
#[cw_serde]
#[allow(non_snake_case)]
struct QueryValidateJWTResponse {
privateClaims: Vec<PrivateClaims>,
}

pub fn verify(
deps: Deps<XionCustomQuery>,
Expand Down

0 comments on commit b467727

Please sign in to comment.