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

The 32-char length OAuth nonces are rejected by some services #9

Closed
jaaufauvre opened this issue Feb 18, 2019 · 0 comments
Closed

The 32-char length OAuth nonces are rejected by some services #9

jaaufauvre opened this issue Feb 18, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@jaaufauvre
Copy link
Member

jaaufauvre commented Feb 18, 2019

Some services reject oauth_nonce values because of their length (in that case, the length can't be more than 24 characters).

The library currently generates 32-char nonces, which is compliant with the spec (https://tools.ietf.org/html/rfc5849#section-3.3). For instance, here is given a 30-char nonce: https://tools.ietf.org/html/rfc5849#section-3.5.1.

We could use a 16-char string here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant