Announcement Announcement Module
Collapse
No announcement yet.
OAuth from jquery??? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • OAuth from jquery???

    Hello,

    Please any example of how to code a call from jquery. Is this possible? creating an authorization header. Must be from jquery or javascript in my case. Since it must be outside the jboss server + spring + resteasy.

    thanks,

  • #2
    There is a jQuery addon called jso that is used in the sparklr sample (https://github.com/andreassolberg/jso). It's a bit limited in scope, but shows you how to do it. Apparently cujo.js (https://github.com/cujojs) has a ll the pieces you need to make authenticated REST calls from JavaScript as well, but I haven't seen that in action anywhere.

    Comment


    • #3
      http://marcin-michalski.pl/2012/11/0.../#comment-2320

      Comment

      Working...
      X