Giter Club home page Giter Club logo

Comments (8)

lalinsky avatar lalinsky commented on May 23, 2024

I'm interested in having a library that works with the 01 MAC tokens. The current code for 00 tokens doesn't really work:

  • there is no standard way to pass the MAC key, etc.
  • it uses non-existent functions (utils.generate_nonce, utils.generate_timestamp)
  • the nonce parameter is constructed incorrectly, it should be age:nonce, but the code currently does nonce:age
  • there is no way to specify the token issue time, so the code can't really generate the age component of the nonce parameter

Do you think it's useful to keep the 00 code and perhaps try to fix it? If I want to add 01 support, should I keep both?

from oauthlib.

ib-lundgren avatar ib-lundgren commented on May 23, 2024

I noticed you added support for both, let's keep it that way until there is some more progress on the draft and then follow the latest draft. As far as I know none is currently working on the draft as they are lacking clear use cases for when to use MAC tokens. If you happen to have one I'm sure they would be very interested to hear about it =)

from oauthlib.

ib-lundgren avatar ib-lundgren commented on May 23, 2024

Seem to be some progress on MAC tokens http://tools.ietf.org/html/draft-ietf-oauth-v2-http-mac-03, will keep an eye on it.

from oauthlib.

mvanderkolff avatar mvanderkolff commented on May 23, 2024

Annoyingly enough, there's a random webservice (smsglobal.com) that thought the MAC spec (v1, I think) was a good idea...

from oauthlib.

thedrow avatar thedrow commented on May 23, 2024

Now in draft 05. The current implementation is 02 (according to the comments).
Should we update it or wait until the spec matures?

from oauthlib.

ib-lundgren avatar ib-lundgren commented on May 23, 2024

Not followed the changes as of late. However a quick look at the spec and
I'd say it's grown a bit in complexity since last with a few more fields in
the auth header. We could probably update but maybe hold off till there at
least is a full example?

On Sun, Aug 24, 2014 at 3:10 PM, Omer Katz [email protected] wrote:

Now in draft 05. The current implementation is 02 (according to the
comments).
Should we update it or wait until the spec matures?


Reply to this email directly or view it on GitHub
#29 (comment).

from oauthlib.

foxx avatar foxx commented on May 23, 2024

Looks like this is still in draft 05. There are some examples in there, someone will need to try and implement based on those examples and see if it's complete enough.

from oauthlib.

thedrow avatar thedrow commented on May 23, 2024

There was no other draft.
Does this mean we should remove the implementation?

from oauthlib.

Related Issues (20)

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.