Skip to content

Commit

Permalink
ATO-1328: Add logging to check if docApp contains claims
Browse files Browse the repository at this point in the history
Adds logging to check whether the doc-app request contains claims.
We're not expecting this to contain claims so this logging will
help us confirm whether that our assumptions are true.
  • Loading branch information
Ryan-Andrews99 committed Jan 6, 2025
1 parent 3384c87 commit 68229c6
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,12 @@ public APIGatewayProxyResponseEvent authoriseRequestHandler(

if (DocAppUserHelper.isDocCheckingAppUser(
authRequest.toParameters(), Optional.of(client))) {

// ATO-1328: Revert once we have collected enough logs
LOG.info(
"Claims are attached to DocApp request: {}",
Objects.nonNull(authRequest.getOIDCClaims()));

return handleDocAppJourney(
session,
orchSessionOptional,
Expand Down

0 comments on commit 68229c6

Please sign in to comment.