ios - OAuth 1.0a not working on http -


i've been struggling ios app authenticate user on http wordpress site. it's understanding oauth 1.0a should working http website , oauth 2.0 works https.

on wordpress site, 2 plugins installed: wordpress rest api (version 2) , wordpress rest api - oauth 1.0a server. client side of ios app, i'm using oauthswift library perform authentication process.

my error @ first step of oauth authentication request following endpoint: http://example.us/oauth1/request

the operation couldn’t completed. (oauthswifterror error -11.) printing description of error.requesterror.error: error domain=nsurlerrordomain code=400 "http status 400: bad request, response: no oauth parameters supplied" userinfo={nserrorfailingurlkey=http://example.us/oauth1/request, nslocalizeddescription=http status 400: bad request, response: no oauth parameters supplied, response-headers={ "access-control-allow-headers" = authorization; connection = "keep-alive"; "content-type" = "text/html; charset=utf-8"; date = "sun, 13 nov 2016 01:15:25 gmt"; "keep-alive" = "timeout=15"; server = nginx; "transfer-encoding" = identity; }, oauthswifterror.response=<nshttpurlresponse: 0x6080002343c0> { url: http://example.us/oauth1/request } { status code: 400, headers { "access-control-allow-headers" = authorization; connection = "keep-alive"; "content-type" = "text/html; charset=utf-8"; date = "sun, 13 nov 2016 01:15:25 gmt"; "keep-alive" = "timeout=15"; server = nginx; "transfer-encoding" = identity; } }, oauthswifterror.response.data=<4e6f204f 41757468 20706172 616d6574 65727320 73757070 6c696564>, response-body=no oauth parameters supplied}

does ever have success oauth 1.0a on ios working wordpress?

thanks.


Comments

Popular posts from this blog

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -