Giter Club home page Giter Club logo

Comments (2)

jpillora avatar jpillora commented on July 29, 2024

Hey Kitt0s

I'm abit wary about the file size increase, though I'll look into it tonight

On Saturday, February 9, 2013, Kitt0s wrote:

Hey there!

I'd really love some OAuth support for this library.
Consider using this OAuth library:
http://oauth.googlecode.com/svn/code/javascript/oauth.js

Thanks!


Reply to this email directly or view it on GitHubhttps://github.com//issues/1..

from jquery.rest.

jpillora avatar jpillora commented on July 29, 2024

Hey Kitt0s,

OAuth 1.0 in JavaScript (the library you linked) is insecure in the browser as the application's secret key is required to make requests, OAuth 2.0 is more suitable and was designed with the intention of use in the browser. So I may add OAuth 2 support if enough people need it.

If you really really want OAuth 1 support and can accept the security issues, include this file https://gist.github.com/andyedinborough/1012960 and change the $.ajax to $.oauth in jquery.rest.js (untested though it should work 😊)

from jquery.rest.

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.