Questions tagged [two-legged]
19 questions
15
votes
2 answers
What is meant by two legged authentication?
What is meant by two legged authentication? Where and how it is used in programming?

Karthik
- 3,221
- 5
- 28
- 38
10
votes
1 answer
Has anybody implemented 2 Legged OAuth using DNOA?
I am trying to create an Authentication Module in CSharp where I need to verify the Signature from the request using DotNetOpenAuth(DNOA) Library for 2 Legged OAuth which only has consumer Key and a Secret.
If you have any sample implementation of 2…

Madhavi Venu
- 101
- 1
- 4
5
votes
3 answers
How to get nodemailer to work with 2LO for service accounts?
I have followed the instructions on the nodemailer site to the letter, but OAuth2 for google service accounts simply does not work for me.
Either I get ECONN timeouts when setting "host" to mail.google.com or some combination of "401, user/pwd not…

Lance Massey
- 51
- 2
5
votes
2 answers
Rails two-legged OAuth provider?
I have a rails 2.3.5 application with an API I wish to protect.
There is no user - it is an app to app style webservice (more like an Amazon service than facebook), and so I would like to implement it using a two-legged OAuth approach.
I have been…

Andrew Kuklewicz
- 10,621
- 1
- 34
- 42
4
votes
1 answer
Implementation of two legged OAuth 2.0 for WebApi
I created a mvc4 webapi project using VS2012RC. I tried to implement two legged Oauth 2 in my project. I followed the tutorial …

Kishore
- 1,357
- 2
- 11
- 15
3
votes
3 answers
Removing oauth_token from request header in Scribe
We're trying to connect with another company's custom API which uses two-legged OAuth to authenticate a request and send us a response.
At the moment the code we have is sending a request but it's not being authenticated at the other end and so…

David Castle
- 149
- 1
- 3
- 10
2
votes
1 answer
Google Data API - Two Legged Auth Token Reuse
I am using two legged OAuth for Google Contact Data API and generating token on each request.
Is it advisable or Should I store token to reuse it next time ?
Also, How to detect stale token ?
I am using python. ( and Gdata Python Client Library…

iamgopal
- 8,806
- 6
- 38
- 52
1
vote
0 answers
OAuth2 User-agent flow + two-legged OAuth
I have 2 questions about OAuth2's user-agent flow.
(the current RFC draft of OAuth2's user-agent flow is here:
https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-11#section-2.2)
1)
Step C: The access token has to be given in the fragment,…

Chielus
- 632
- 8
- 18
1
vote
2 answers
xoauth.py IMAP token expires after 1 hour
I am Google Apps administrator and using xoauth.py and IMAP to download users mails without users password. But this process gets stopped after 1 hour. I searched many blogs and I came to know this token expires after 1 hour. Can anyone tell me how…

Kiran Jadhav
- 43
- 5
1
vote
0 answers
401 Unauthorized error in Rails two-legged OAuth provider
I'm trying to implement a two-legged OAuth provider on Rails.
I followed these instruction for installing the consumer and provider:
https://github.com/pelle/oauth-plugin
with these instructions to make the consumer work
Rails3 - oauth-plugin…

Mono
- 302
- 2
- 6
- 21
0
votes
1 answer
Two-legged authorization with apache http server
I have an api (running in a jetty instance) where I use two-legged oauth protocol to give access to the clients. I wrote a simple java client (using oauth-signpost) to connect to the api and the connection is successful.
I would like to put the api…

Zoltan Altfatter
- 802
- 2
- 11
- 25
0
votes
0 answers
Forge API- Two Leg token is fetching multiple Top folders which are not visible
I am using Two-leg token authentication to fetch top project folders Id under a given hubId and project Id.
The response is giving multiple folders which are not even visible in BIM360 UI (response has hidden key, which irrespective of true or false…
0
votes
1 answer
Provider/Client 2-Legged OAuth I am understanding this correctly? (PHP implementation example)
I provide a developer API to a set of data, I want to add 2-legged oauth authentication so I can authenticate developers apps to use the api. Firstly is this the best solution, for this type of authentication?
Secondly, from an implementation/flow…

Gcoop
- 3,372
- 4
- 26
- 35
0
votes
1 answer
Automatically input username and password for OAuth
I am running a research project where we create the participant's Jawbone accounts. I am writing a piece of program that captures all of the participants' step counts. I am wondering how I can feed the username and password without having this page…

andyjslee
- 589
- 2
- 5
- 15
0
votes
1 answer
Implementing Two Legged OAuth 2.0 in Mule Anypoint Connector
I'm connecting to a two-legged OAuth 2.0 service using Mule, but it seems the OAuth2 authentication annotation only supports a three-legged flow.
The call that needs to be made to authenticate is roughly:…

Brady Emerson
- 4,769
- 1
- 15
- 17