Oauth_signature

41 views
Skip to first unread message

Nathanael Gethers

unread,
Jan 23, 2013, 5:41:41 AM1/23/13
to jso...@googlegroups.com
Hello, for my app i have to pass a oauth_signature to get the access token. This maybe needed for every acces token, I am not sure. I understand the high lvl of oauth but not sure what all is needed for each request. Is there a method in getting a oauth_signature? The API site said this

"You generate the signature for this request using a secret that contains both your application's shared secret and the oauth_token you received at the end of the previous step. Pass this secret to your signature-generating function in the format "YourSharedSecret&YourAuthorizedToken"."

if this makes any sense let me know.

thanks

Rob Griffiths

unread,
Jan 23, 2013, 5:46:17 AM1/23/13
to jso...@googlegroups.com
jsOAuth does this for you as part of its signing flow.

If you follow the boilerplate - you should get an access token at the end https://gist.github.com/1071227#file-pin_auth-html

You'll have to interpret the code slightly as it was designed for pin based auth.

-- 
Rob Griffiths
Sent with Sparrow

Nathanael Gethers

unread,
Feb 6, 2013, 11:24:37 AM2/6/13
to jso...@googlegroups.com
Quick update, I got my oauth dance done and working! Great lib. Thanks for the hard work.

Rob Griffiths

unread,
Feb 8, 2013, 2:32:47 AM2/8/13
to jso...@googlegroups.com
Great news!
--
You received this message because you are subscribed to the Google Groups "jsOAuth" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsoauth+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages