Skip to content

Commit

Permalink
fix(jans-cedarling): remove workload entity creation using userinfo_t…
Browse files Browse the repository at this point in the history
…oken

Signed-off-by: rmarinn <[email protected]>
  • Loading branch information
rmarinn committed Dec 27, 2024
1 parent 7df9d66 commit 86ff917
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion jans-cedarling/cedarling/src/authz/entities/workload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ pub fn create_workload_entity(
for (token_kind, token, key) in [
(TokenKind::Access, tokens.access_token.as_ref(), "client_id"),
(TokenKind::Id, tokens.id_token.as_ref(), "aud"),
(TokenKind::Userinfo, tokens.userinfo_token.as_ref(), "aud"),
] {
match try_create_entity(token_kind, token, key) {
Ok(entity) => return Ok(entity),
Expand Down

0 comments on commit 86ff917

Please sign in to comment.