Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ATO-1169: check if docAppSubjectId is defined in logs #5880

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

GHSwallow
Copy link
Contributor

@GHSwallow GHSwallow commented Feb 6, 2025

Wider context of change

This is part of the work to scope out the ClientSession table migration. See epic here: https://govukverify.atlassian.net/browse/ATO-1106

What’s changed

Adds logging to check if docAppSubjectId is defined. This is the only place any setter on Auths ClientSession Class is called. Orch already sets it in AuthorisationHandler, so we should be able to safely remove this. If this assumoption is correct, then we can safely just pass the client session from orch to auth, and orch can forget about it. Ie, we don't need any info from Auth to set on the ClientSession.

@GHSwallow GHSwallow requested review from a team as code owners February 6, 2025 17:32
This is the only place any setter on Auths ClientSession Class is called. Orch already sets it in AuthorisationHandler, so we should be able to safely remove this. If this assumoption is correct, then we can safely just pass the client session from orch to auth, and orch can forget about it. Ie, we don't need any info from Auth to set on the ClientSession.
@GHSwallow GHSwallow force-pushed the ATO-1169/check-if-setter-is-necessary branch from 8103af0 to 6090364 Compare February 6, 2025 17:33
@GHSwallow GHSwallow added this pull request to the merge queue Feb 7, 2025
Merged via the queue into main with commit d04d73c Feb 7, 2025
12 checks passed
@GHSwallow GHSwallow deleted the ATO-1169/check-if-setter-is-necessary branch February 7, 2025 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants