Re: OAuth autorize post request with body

89 views
Skip to first unread message

Greg Robbins

unread,
Jan 3, 2013, 3:37:52 PM1/3/13
to gtm-...@googlegroups.com
You'll need to determine if the server is expecting the POST body to be included in the signature; typically, it is not, unless the Content-Type is application/x-www-form-urlencoded. 

Set breakpoints in -signatureForParams:request: and +addBodyFromRequest:toParams: to see what is happening during the signature calculation.

horati...@exswap.com

unread,
Jan 4, 2013, 9:43:07 AM1/4/13
to gtm-...@googlegroups.com

Thank you Greg, the solution was not to include the parameters from the body in the signature :-)
Reply all
Reply to author
Forward
0 new messages