Giter Club home page Giter Club logo

Comments (3)

ga083 avatar ga083 commented on August 11, 2024 1

Updated the code to sort the oauth parameters according to 3.5.2.
sorted form-encoded oauth parameters change.zip

from ohhauth.

mw99 avatar mw99 commented on August 11, 2024

Very nice, thanks.

In line 211 you just merge the two parameter dictionaries into one, so the resulting parameters would be in random order. However RFC5849 section 3.5.2 says they must appended.

The entity-body MAY include other request-specific parameters, in which case, the protocol parameters SHOULD be appended following the request-specific parameters, properly separated by an "&" character (ASCII code 38).

I have seen OAuth 1 servers to be very strict with parameter ordering before, so that could be a problem. However I have just glanced over your code, so I could be wrong. I will take a closer look when I have the time. Thanks!!

from ohhauth.

ga083 avatar ga083 commented on August 11, 2024

Good catch, looks like my server is more permissive than others. I'll take a look.

from ohhauth.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.