Skip to content

Add oauth_body_hash - #110

Closed
webjunkie wants to merge 2 commits into
joestump:masterfrom
webjunkie:body-hashing
Closed

Add oauth_body_hash#110
webjunkie wants to merge 2 commits into
joestump:masterfrom
webjunkie:body-hashing

Conversation

@webjunkie

Copy link
Copy Markdown

@joestump

Copy link
Copy Markdown
Owner

@webjunkie thanks for the PR! @jaitaiwan can you take a look?

Comment threadoauth2/__init__.py

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Can we make this check_body_hashing? Or verify_body_hash?

@jaitaiwan

Copy link
Copy Markdown
Contributor

Is this the same issue as #138? If so, the body should always be hashed even if empty according to spec...

@joestump

Copy link
Copy Markdown
Owner

@jaitaiwan that's true, but I don't think body hashing itself is part of the OAuth specification. In other words, if you implement it you need to do this, but the providers don't have to implement body hashing. At least that's how I've understood this PR.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@webjunkie@joestump@jaitaiwan