Skip to content

Commit

Permalink
actually think this test should use JWT engine
Browse files Browse the repository at this point in the history
Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Oct 12, 2023
1 parent 9ca3e23 commit f8330e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kube-client/src/client/auth/oidc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ mod tests {
let invalid_claims_token = format!(
"{}.{}.{}",
token_valid.split_once('.').unwrap().0,
STANDARD_BASE64_ENGINE.encode(serde_json::to_string(&invalid_claims).unwrap()),
JWT_BASE64_ENGINE.encode(serde_json::to_string(&invalid_claims).unwrap()),
token_valid.rsplit_once('.').unwrap().1,
);
oidc.id_token = invalid_claims_token.into();
Expand Down

0 comments on commit f8330e5

Please sign in to comment.