Questions tagged [oauth-1.0a]

OAuth 1.0a is revision A of the OAuth protocol. It has been obsoleted by OAuth 2.0. OAuth is a protocol that enables applications to obtain limited access to user accounts on an HTTP service, such as Facebook and GitHub. OAuth is natively supported in Spring Boot. Note that OAuth 2.0 is not backward compatible with OAuth 1.0

OAuth 1.0a is revision A of the OAuth protocol as defined by Internet Engineering Task Force (IETF) in RFC 5849. This mechanism is used by companies such as Amazon, Google, Facebook, Microsoft and Twitter to permit the users to share information about their accounts with third party applications or websites. It has been obsoleted by OAuth 2.0 (RFC 6749)

184 questions
1
vote
0 answers

Uncaught (in promise) Error: Request failed with status code 401 axios wp-api POST

I am using react as a front end for a wordpress site. From a form i am trying to POST data to wordpress using axios and the wp-api. Below is how I am trying to do this, but I keep getting: code: "rest_cannot_create", message: "Sorry, you are not…
Phillip Hogan
  • 123
  • 1
  • 2
  • 9
1
vote
1 answer

Angular 4 and Woocommerce API. Http GET works but http POST doesn't works

I'm trying to add a product through an Woocommerce API via the HTTP POST method. This is the authorize outh1.0a url = 'http://localhost/szafa-bobasa/wp-json/wc/v2/' oauth = OAuth({ consumer: { key:…
Lukasz
  • 11
  • 3
1
vote
0 answers

How to use Alamofire with Oauth1 Get Method

i already installed library Alamofire and i want use Get Request Method for get data API code like this : import UIKit import Alamofire class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let params…
fermendkis
  • 65
  • 7
1
vote
2 answers

Invalid Signature in Auth 1.0a implementing in PHP

public function garminAction(){ $url = 'http://connectapitest.garmin.com/oauth-service-1.0/oauth/request_token'; $oauth_consumer_key = 'XXXXXXXXX'; $consumerSecret = 'XXXXXXXXX'; $oauth_signature_method = 'HMAC-SHA1'; …
waqas
  • 73
  • 7
1
vote
1 answer

Why does my OAuth signature not match when connecting to WordPress via OAuth 1.0 in C#?

I am trying to complete the first step in the OAuth 1.0 authentication process and retrieve an unauthorized request token. I keep getting a 401 OAuth signature does not match error from WordPress. I know the problem is with the way I am hashing my…
Adam
  • 1,483
  • 4
  • 21
  • 50
1
vote
0 answers

Invalid signature. Expected signature base string - OAuth1.0 Yelp API

I am using yelp V2 API in my app.I am getting below response for requesting restaurant and food detail in any particular area. I tried almost all solution of stack overflow and everywhere else I got. But still no progress. Can anyone help me please?…
1
vote
0 answers

phpoauthLib Etsy login getAbsoluteUri() on a non-object

I've been trying to set up OAuth for Etsy to use in a project but having trouble even getting the login page to load using PhpoAuthLib. Highly likely my low level of knowledge regarding the use of Oauth. Currently this is my login page which is…
Lewis Thomas
  • 129
  • 11
1
vote
1 answer

Unable to generate oauth_signature for my IMS LTI request

In IMS Emulator (http://ltiapps.net/test/tc.php) on clicking of "Save Data", with the auto populated data the outh_signature is generated and put into as a hidden value in form frmLaunch(name='frmLaunch') form. I need to generate similar…
CNKR
  • 568
  • 5
  • 19
1
vote
2 answers

Twitter API does not authenticate properly

I have used postman to test request with Twitter API (https://api.twitter.com/1.1/statuses/user_timeline.json), but it gives me {"errors":[{"code":215,"message":"Bad Authentication data."}]} My header is: Authorization:OAuth…
Nilesh Nartam
  • 306
  • 2
  • 11
1
vote
1 answer

XML-File i send to the API gets encoded, how to prevent that?

I am using an API to download a XML File and read it, which works perfectly. Now i want to add something and upload a new version of this XML-File, but it gets encoded and one cant read it with an XML Reader. It looks like this:…
Timo Rzipa
  • 41
  • 9
1
vote
1 answer

Invalid signature Open Bank Project Oauth1.0a

I'm developing a React-Native App with Open Bank Project and I can't use suggested SDKs, not even the nodeJS one as Oauth1.0 is not available in RN. And I'm stuck with a Bad Signature error on Access Token request '/oauth/token' after passed…
imaginair
  • 519
  • 1
  • 7
  • 12
1
vote
0 answers

OAuth1.0a signature generation

I'm having real difficulty generating the OAuth1.0a signature correctly. Below are the parameters that I used from here (Request Token) //URL parameters sans-signature $preSignedParameters = [ 'oauth_callback' =>…
Griff
  • 19
  • 5
1
vote
0 answers

How to get oauth_verification using PECL OAUTH?

I'm trying to get the verification code using php, but as I can see, there is only "manual" (I have to authorize manually) solution for this. Is there any way to authorize your request token using pecl oauth? I see only getAccessToken and…
Norbert Kiss
  • 273
  • 1
  • 3
  • 15
1
vote
0 answers

Security works correctly in unit test but not when deployed in application server (weblogic)

Can anyone tell why this didn't work? The code works great when I run it from my unit tests. Security gets setup perfectly and our service works great just like I expect. However, when I deployed it to our application server (weblogic), my service…
Dan
  • 11
  • 3
1
vote
1 answer

Could not locate API; are you sure it's enabled? - WP REST API oAuth1

I am getting: "Could not locate API; are you sure it's enabled?" When I try to link client to WordPress via WP REST API. I have installed & activated all necessary plugins and dependencies, including (WP-REST API, oAuth1 etc). When I try HEAD…
Md. Zubaer Ahammed
  • 931
  • 11
  • 13