Skip to content

Commit

Permalink
Add warning and continue flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliano1612 committed Aug 1, 2024
1 parent 8f5b573 commit b0e0800
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/core/authorization_request/parameters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,11 @@ impl ClientMetadata {
))?
.try_into()
.context("failed to parse client metadata from JSON");
} else {
// bail!("the client metadata was not passed by reference or value")
println!("[WARNING] the client metadata was not passed by reference or value");
return Ok(ClientMetadata(UntypedObject::default()))
}

bail!("the client metadata was not passed by reference or value")
}
}

Expand Down
4 changes: 3 additions & 1 deletion src/core/authorization_request/verification/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ pub trait RequestVerifier {
decoded_request: &AuthorizationRequestObject,
request_jwt: String,
) -> Result<(), Error> {
bail!("'redirect_uri' client verification not implemented")
println!("[WARNING] 'redirect_uri' client verification not implemented");
// bail!("'redirect_uri' client verification not implemented")
Ok(())
}

/// Performs verification on Authorization Request Objects when `client_id_scheme` is `verifier_attestation`.
Expand Down

0 comments on commit b0e0800

Please sign in to comment.