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

IMN-521 Authorization server - part 2 #1086

Open
wants to merge 152 commits into
base: IMN-521_authorization-server-part1
Choose a base branch
from

Conversation

taglioni-r
Copy link
Contributor

@taglioni-r taglioni-r commented Oct 11, 2024

[To be merged after #1134]

Copy link
Contributor

@galales galales left a 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);
Copy link
Contributor

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

Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants