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
4
votes
2 answers

Twitter Authentication OAuth or XAuth

I am trying to integrate Twitter into my application. My basic requirement is to have custom login screen and as twitter requires only OAuth. As per Twitter documentation I found these MGTwitterEngine(Downloaded but its missing entire OAuth…
Nnp
  • 1,813
  • 7
  • 36
  • 62
4
votes
2 answers

wsimport with special character and Xauthfile

I'm facing the same problem that this guy here: wsimport Xauthfile error Since he didn't gave a feedback and I'm new here and can't ask him if he solved his problem I'm opening a new question. I'm using ubuntu and have JDK7 from java oracle…
Jaga Jugue
  • 41
  • 1
  • 4
3
votes
2 answers

Tumblr API Blog methods return 401 "Not Authorized", but User methods works perfect

So, there is a code that uses xAuth authentication to call tumblr API methods: import urllib import urlparse import oauth2 as oauth consumer_key = "..." consumer_secret = "..." consumer = oauth.Consumer(consumer_key, consumer_secret) client =…
clumpter
  • 1,898
  • 6
  • 27
  • 38
3
votes
2 answers

Invalid MIT-MAGIC-COOKIE-1 key when locally running MPI application or starting ParaView

I am using Ubuntu 20.04, locally, no remote access or anything. Still, whenever I start up paraview from the terminal, or when I run an application that uses MPI (I think it's enough if it calls MPI_Init()), then I get the error message Invalid…
RL-S
  • 734
  • 6
  • 21
3
votes
0 answers

Why does 'X-Auth-Token' get updated with every request/response?

I'm using spring-boot + OAuth2 with Redis managing sessions. I would save some data in one request and retrieve the data in another. And I use the X-Auth-Token header to identify sessions, as shown below: @Bean public HttpSessionIdResolver…
devvjj
  • 33
  • 3
3
votes
1 answer

xauth and $DISPLAY questions

Below is some steps a developer use to start a manual deployment for a Vitria application. Now we want to understand how to automate this process using IBM UrbanCode uDeploy. In the multiple entries of "xauth list" output, what does the number 11…
Jirong Hu
  • 2,315
  • 8
  • 40
  • 63
3
votes
1 answer

Objective-C: How to use xAuth?

I'm relatively new to Objective-C and am completely new to xAuth. Can somebody show me how or lead me to a tutorial to get a request access token pair and make a request to a URL given username, password, consumer_key, and consumer_secret? I'm…
Ayaka Nonaka
  • 856
  • 1
  • 10
  • 22
3
votes
1 answer

Twitter xAuth vs open source

I am developing an open source desktop twitter client. I would like to take advantage on the new xAuth authentication method, however my app is open source which means that if I put the keys directly into the source file, it may be a vulnerability…
tamasd
  • 5,747
  • 3
  • 25
  • 31
3
votes
2 answers

Invalid magic cookie when connecting in mac

I am trying to access a remote ubuntu server through ssh -X from mac. I enabled X11 Forwarding in the sshd_config. After connecting the ubuntu, when I try to start wireshark, I get the below error Invalid MIT-MAGIC-COOKIE-1 keyInvalid…
user1667630
  • 297
  • 6
  • 15
3
votes
1 answer

Register Tumblr app for iPhone app

I registered an app on the Tumblr developer website for my iPhone app. The app need to upload a photo to Tumblr with tags and caption and it's running normally. However, the photo after uploaded on Tumblr does not show my iPhone app name below the…
Tien Nguyen
  • 590
  • 3
  • 17
2
votes
1 answer

API Authentication method for a social network's own mobile app

As we all know social networks like Twitter, Facebook have their own mobile apps. Other 3rd party apps use their API which can be authenticated over only OAuth protocol after registering for an app. So how exactly do Facebook, Twitter, Foursquare…
ahmet alp balkan
  • 42,679
  • 38
  • 138
  • 214
2
votes
1 answer

xAuth for Java?

I am looking to write a desktop/cli Java app that interacts with Tumblr. To do that I need to use xAuth. I was hoping that Spring Security could be used to here however, I can't find any supporting documentation. Can someone point me to some…
Chris J
  • 9,164
  • 7
  • 40
  • 39
2
votes
1 answer

Ruby OAuth : display request header?

I'm using the ruby oauth gem for an xAuth implementation. Here is the code I have so far (and it works): require "RubyGems" require "oauth" require "json" require 'active_support' consumer =…
dpigera
  • 3,339
  • 5
  • 39
  • 60
2
votes
1 answer

How to use Vcxsrv on windows with docker and setup access control

We are using docker to provide parity for a group development project. We are using VcXsrv to display the GUI but we have to disable access control to make it work. When running the container we set the DISPLAY environment variable to our IPs and…
matdon
  • 146
  • 6
2
votes
2 answers

Android Twitter4J(xAuth): one device works, one device doesn't

Here is the stacktrace: 06-16 14:44:20.462 5526 5535 W System.err: **The screen name / password combination seems to be invalid.** Relevant discussions can be on the Internet at: 06-16 14:44:20.462 5526 5535 W System.err: …
Heuristic
  • 5,087
  • 9
  • 54
  • 94