Question

I'm trying to test authentication in vimeo using Fiddler. I compose my message to https://vimeo.com/oauth/access_token with the following headers:

User-Agent: Fiddler
x_auth_mode: client_auth
x_auth_username: username@domain.com
x_auth_password: myPassword?
x_auth_permission: Write

The message I get back is a 401 Unauthorized - Invalid consumer key - The consumer key passed was not valid.

I have a consumer key, but I don't see where in the documentation I provide it. I tried:

oauth_consumer_key: biglongkey
x_auth_consumer_key: biglongkey

I'm not sure what else I need to provide.

I am using the xAuth method because I am writing a windows service that will check a drop folder and upload videos a scheduled times. Usually after hours at 1AM.

Was it helpful?

Solution

In most cases, XAuth is not the right solution. Vimeo only provides access to XAuth on an extremely limited basis.

It looks like you might be using XAuth in an attempt to hard code a user into your app. For this very use case Vimeo provides an access token on your application page. It is much better to hard code a token than a username/password pair.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top