Questions tagged [xauth]

XAuth is a Twitter API method that allows easy OAuth access token retrieval for an account without going through a full OAuth authentication sequence.

With the XAuth API method you can supply Twitter credentials (username/password) and get back a usable access token in one go.

This might be a better functional match for desktop or mobile (=non-web) clients. It could also be used for a one time conversion of a userbase from Twitter credentials to Twitter OAuth access tokens.

See the documentation by Twitter about XAuth for more information. You need to request permission to use this method for you Twitter application by emailing Twitter, stating why you would need this Use Case for your application.

106 questions
21
votes
1 answer

Access Tokens Persistence Best Practices (iOS)

Should access tokens for services like Twitter and Facebook be encrypted? In particular, should tokens be stored on the the device's Keychain vs. UserDefaults? What are some possible security issues that could arise if a user's device is…
Arie Litovsky
  • 4,893
  • 2
  • 35
  • 40
18
votes
1 answer

How to pass X-Auth-Token in the HTTP header in JavaScript

I have a website which uses Token-based authentication. At first, username and password are sent to log the user in and receive the token. For subsequent calls, I need to include the token as X-Auth-Token in HTTP header. I would like to know how to…
GibboK
  • 71,848
  • 143
  • 435
  • 658
16
votes
2 answers

What is the difference among BasicAuth,OAuth and XAuth?

Recently i heard that Twitter will be shutting off the basic authentication on the Twitter API and they move towards OAuth. So i want to know What is the difference among BasicAuth,OAuth and XAuth? what is the advantage and disadvantage of each…
raaz
  • 12,410
  • 22
  • 64
  • 81
12
votes
1 answer

Native Android VPN programmatically

Variants of this question exist, but I can't seem to understand something. If you read at the end of the features in ICS / 4.0, there is mention of Enterprises can also take advantage of a standard VPN client built into the platform that provides…
Dulax
  • 553
  • 3
  • 20
10
votes
4 answers

The .xauthority file is not does not exist;hence via local ssh connection display from the GCP compute engine not working

explaining all that has been tried and double checked. Set up on local windows machine: Xming installed and running. in ssh_config ForwardX11 is set to yes. In VS code remote connection config the the Forward X11 is set to yes. Set up on GCP…
Trapti Kalra
  • 131
  • 1
  • 1
  • 6
8
votes
1 answer

xauth using python-oauth2

I am trying to implement xauth for instapaper using python-oauth2. I am able to find samples for oauth but I didnt find any for xauth. Can someone share samples or the api documentation?
MNC348
  • 203
  • 1
  • 7
7
votes
2 answers

Instapaper API & Javascript XAuth

I've spent most of today try to implement Instapaper's XAuth API. I haven't even been able to get an oauth token, yet. Any ideas what I'm doing wrong? I'm using node.js and the oauth module. It's my understanding that I need to pass the username,…
Pauly Dee
  • 737
  • 2
  • 9
  • 17
7
votes
2 answers

where to change the default location of .Xauthority file when log in via ssh -X as a specific user

I need to change the .Xauthority file location for a group of users to be $HOME/tmp/.Xauthority rather than the default $HOME/.Xauthority. I already tried what I could catch up from several sources like: I set the environment variable like this in…
setra
  • 99
  • 1
  • 1
  • 4
6
votes
1 answer

Is OAuth on a mobile phone using a proxy server just too much trouble?

I have spent the last few days getting an OAuth implementation up and running. Not on Android, but on my web server that will act as the proxy to the OAuth protected service. I'm just about to implement my Android client and my head is still…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
6
votes
2 answers

Android Twitter xAuth example using twitter4j

Android: I am trying the following xAuth example for android share. xAuth Authentication for Twitter Share in Android? System.setProperty("twitter4j.oauth.consumerKey", "your token"); System.setProperty("twitter4j.oauth.consumerSecret", "your token…
d-man
  • 57,473
  • 85
  • 212
  • 296
5
votes
2 answers

Is it possible to get Gmail oauth or xauth tokens with OmniAuth?

I want to get oauth or xauth tokens from GMail to use with gmail-oauth. I'm thinking of using OmniAuth but it seems not to support GMail yet, which means that with stock OmniAuth is impossible. Is that correct? Am I missing something?
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
5
votes
2 answers

WkHTMLtoPDF 0.12.2.1 PHP exec xvfb-run: Error: xauth command not found

I want to generate a PDF from a URL, so I execute the command by WkHTMLtoPDF as below: /usr/bin/xvfb-run --server-args="-screen 0, 1920x1080x24" /usr/local/bin/wkhtmltopdf http://www.google.com /tmp/google.pdf 2>&1 The above command works fine on…
Chunhui Zhang
  • 133
  • 2
  • 7
4
votes
1 answer

It is possible (and/or a good idea) to reuse OAuth tokens between apps?

I'm working on an iPhone app that uses xAuth to login to Twitter. The app also communicates with my own web service. Rather than maintain a user model inside the web service, I'd like to just allow anyone who's already authenticated via Twitter to…
Josh French
  • 973
  • 1
  • 6
  • 12
4
votes
4 answers

Facebook login programmatically using OAuth/XAuth(?)

I am making an app that needs to be able to share stories to Facebook, using a password and email-address that was set somewhere programmatically (not using Facebook-Connect, mostly because I want my own design, whether you log in to Twitter or…
Emil
  • 7,220
  • 17
  • 76
  • 135
4
votes
3 answers

Twitter OAuth in console application

Is it possible to authorize twitter console application without visiting authentication web page? I need it because I'm developing app that grab direct messages from our corporate twitter. This console application is scheduled on web server and is…
Alexey Zakharov
  • 24,694
  • 42
  • 126
  • 197
1
2 3 4 5 6 7 8