2-Legged oauth is a mechanism for third party applications, mostly mobile and desktop clients, of getting user protected resource by getting access token in exchange of user and password.
Questions tagged [2-legged]
47 questions
1
vote
0 answers
2 legged oauth for google calendar v3
I am working with Version 3 of Google Calendar REST API(using HttpClient) and its working fine. Similarly I've to work with web APIs of V3 Google Calendar since my application is in Google Apps marketplace. How can I proceed with 2 legged OAuth in…

Riyaz Ashraf
- 163
- 1
- 10
1
vote
1 answer
MasterCard API - error after adding certificate to request
MasterCard uses 2-legged OAuth. After preparation of OAuth payload, I add it to header in Authorization key. Then the request needs to be sent along with certificate. I am getting error at this step.
I have written my code based on the sample code…

Anand Rastogi
- 75
- 10
1
vote
0 answers
How to integrate 3-legged OAuth system to and 2-legged OAuth system
I have a system provide main service using user account with 2-legged OAuth. I also have another system provide service with API to call but it authenticate using 3-legged OAuth. Currently, the 2 system have independent user base. Now i want to keep…

AgainstPIT
- 411
- 4
- 14
1
vote
1 answer
Authenticating HMAC in MVC3
Im building my own web service on the premise of 2-legged OAuth.
With each authenticated request there will be an included HMAC.
I know it could be done like this:
public ActionResult userInfoExample(string HMAC, string username)
{
…

MrJD
- 1,879
- 1
- 23
- 40
0
votes
1 answer
Is there any need of OAuth(2-legged) on HTTPs
Is there any need of OAuth(2-legged) on HTTPs.
In 3-legged scenario we use oauth for delegation purpose.
but what is the purpose of Oauth(2-legged) over https.
In my scenario I am consumer and also user,so no need of authorization
and I use…

Ali
- 3,545
- 11
- 44
- 63
0
votes
1 answer
How Get a 2 Legged Token Autodesk?
I need to get "Get a 2-Legged Token" verification for a read-only access to upload files entered by other users but I'm running into the following error:
{
"developerMessage": "The required parameter(s) client_id,client_secret,grant_type not…
0
votes
2 answers
Real world scenarios for 2-legged OAuth
What are some real-world scenarios for 2-legged OAuth?
Is it only applicable for mobile/desktop apps?
0
votes
1 answer
Unable to authorize to a OAuth 2 legged provider
I am trying to authenticate to a 2 legged OAuth(1.0) system from ruby irb as follows using oauth ruby gem,
Step 1:
require 'oauth'
irb(main):038:0> consumer = OAuth::Consumer.new("key", "secret", :site => "site", :scheme => :query_string)
I got a…

Abhiram
- 1,459
- 14
- 23
0
votes
1 answer
Access tokens and 2-legged OAuth2
I am learning oAuth2 for the first time. I am going to use it to provide authentication for some simple web services using a two-legged approach.
According to what I have read, the flow should go like this: the web service client supplies some kind…

Cindy Conway
- 1,814
- 3
- 18
- 19
0
votes
1 answer
Google Calendar v3 API for Google Marketplace users
We are working on an app with Google Calendar Integration for Google marketplace users. Many of the links in the documentation https://developers.google.com/google-apps/marketplace/best_practices is not working. Can anybody point me to work in…

Riyaz Ashraf
- 163
- 1
- 10
0
votes
1 answer
Google Shortener with oauth 2.0 2-legged
I am blocked in the creation of my mobile App.
I want to be able to use google shortener and his analytics feature in my app, the problem is that I want use the 2-legged Oauth2.0 and I haven't understand if is it possible to reach this goal with…

MarkWarriors
- 544
- 2
- 9
- 17
0
votes
1 answer
Signing base_string in OAuth
Hi i am trying to implement OAuth1.0 following this tutorial in this tutorial there is a heading OAuthGetRequestToken
in which for getting request token we have to send a post request to URL
www.google.com/accounts/OAuthGetRequestToken
i am sending…

mathlearner
- 7,509
- 31
- 126
- 189
0
votes
1 answer
oauth_signature in OAuth google api
Hi i am trying to implement OAuth1.0 following this tutorial
in this tutorial there is a heading OAuthGetRequestToken
in which for getting request token we have to send a post request to URL
www.google.com/accounts/OAuthGetRequestToken
i am sending…

mathlearner
- 7,509
- 31
- 126
- 189
0
votes
1 answer
OAuth:How to sort string by lexicographical byte value ordering in java
hi i am trying to get request token in from google apis.for getting request token i have to sort the parameter string by lexicographical byte value ordering in java code segment for the string
String datastring=URLEncoder.encode("oauth_version",…

mathlearner
- 7,509
- 31
- 126
- 189
0
votes
1 answer
Signature_invalidbase_string
Hi I am making a Google app in which I am sending request to Google API. I am trying to implement 2legged OAuth1.0 for getting request token(I am following this link)
In this link I am sending aPOST request to /accounts/oauth/GetRequesttoken.below…

mathlearner
- 7,509
- 31
- 126
- 189