Skip to content

Conversation

@poef
Copy link
Member

@poef poef commented Sep 13, 2022

left 2 checks to be implemented (and tested)

left 2 checks to be implemented (and tested)
Copy link
Member

@Potherca Potherca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks okay, and I can follow what is going one, I do have issues regarding the code coverage. In its current state, I don't think it will run as expected.

made getWebId catch constraints violated exceptions and throw invalid token only then, other exceptions indicate coding errors, so shouldn't be caught
added a check that a dpop token is available, if the authorization header specifies it
added check on result
fixed reading fixture files
added comment for unusual exception test
@poef poef merged commit ba89585 into main Sep 16, 2022
@poef poef deleted the validateDPOP branch September 16, 2022 12:06
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