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

Applied percent-encoding for callback in OAuth1's header #6

Merged

Conversation

permil
Copy link
Contributor

@permil permil commented Feb 6, 2018

I tried to implement web-flow of Twitter OAuth by using this library, and found that I couldn't get accessToken because callback parameter was not percent-encoded.
According to RFC5849, > https://tools.ietf.org/html/rfc5849#section-3.5.1
all parameter names and values are needed to be percent-encoded, but only callback seems to be affected in real.
and PIN-Based example had worked because "oob" was already fit as percent-encoded string.

@CORDEA CORDEA added the bug label Feb 7, 2018
@CORDEA
Copy link
Owner

CORDEA commented Feb 7, 2018

thanks!

@CORDEA CORDEA merged commit 59a45db into CORDEA:develop Feb 7, 2018
@permil permil deleted the feature/percent-encode-for-oauth1-callback branch April 11, 2022 16:19
Sign up for free to 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.

2 participants