Skip to content

Commit

Permalink
updates SiS callback log to use user_uuid (#18039)
Browse files Browse the repository at this point in the history
  • Loading branch information
bramleyjl authored Aug 15, 2024
1 parent bba4434 commit 4f01986
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/controllers/v0/sign_in_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def create_login_code(state_payload, user_info, credential_level) # rubocop:disa
ial: credential_level.current_ial,
acr: state_payload.acr,
icn: verified_icn,
uuid: user_info.sub,
user_uuid: user_info.sub,
authentication_time: Time.zone.now.to_i - state_payload.created_at
}
sign_in_logger.info('callback', context)
Expand Down
8 changes: 4 additions & 4 deletions spec/controllers/v0/sign_in_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@
ial:,
acr:,
icn: mpi_profile.icn,
uuid: logingov_uuid,
user_uuid: logingov_uuid,
authentication_time:
}
end
Expand Down Expand Up @@ -995,7 +995,7 @@
ial:,
acr:,
icn: mpi_profile.icn,
uuid: idme_uuid,
user_uuid: idme_uuid,
authentication_time:
}
end
Expand Down Expand Up @@ -1129,7 +1129,7 @@
ial:,
acr:,
icn: expected_icn,
uuid: backing_idme_uuid,
user_uuid: backing_idme_uuid,
authentication_time:
}
end
Expand Down Expand Up @@ -1278,7 +1278,7 @@
ial:,
acr:,
icn: expected_icn,
uuid: backing_idme_uuid,
user_uuid: backing_idme_uuid,
authentication_time:
}
end
Expand Down

0 comments on commit 4f01986

Please sign in to comment.