-
Notifications
You must be signed in to change notification settings - Fork 1
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
IMN-521 Authorization server - part 2 #1086
base: IMN-521_authorization-server-part1
Are you sure you want to change the base?
IMN-521 Authorization server - part 2 #1086
Conversation
…-521_authorization-server
…-521_authorization-server
…-521_authorization-server
…opa/interop-be-monorepo into IMN-521_authorization-server
…-521_authorization-server
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG! just a minor consideration
!key.purposeVersionId | ||
) { | ||
const parsedClientKidPurposeEntry = | ||
FullTokenGenerationStatesClientPurposeEntry.safeParse(key); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
publishAudit
should receive by definition a key of type FullTokenGenerationStatesClientPurposeEntry
.
This fits with the current use (publishAudit
is actually already called with a key of the correct type) and there is no need of an additional parsing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I didn't realize it was completely redundant with the latest change.
[To be merged after #1134]