OAuth Test Server

Instructions for Use

This is a test server with a predefined static set of keys and tokens, you can make your requests using them to test your code.

Your Consumer Key / Secret

Use this key and secret for all your requests.

Getting a Request Token

A successful request will return the following:

oauth_token=requestkey&oauth_token_secret=requestsecret

An unsuccessful request will attempt to describe what went wrong.

Example

http://oauthbin.com/v1/request-token?oauth_consumer_key=key&oauth_nonce=edb079c1fdc6f8cccf4a9983f010ecca&oauth_signature=MLGXwFo8hP%2FEP5yBOWDBc8AxnRs%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1534423653&oauth_version=1.0

Getting an Access Token

The Request Token provided above is already authorized, you may use it to request an Access Token right away.

A successful request will return the following:

oauth_token=accesskey&oauth_token_secret=accesssecret

An unsuccessful request will attempt to describe what went wrong.

Example

http://oauthbin.com/v1/access-token?oauth_consumer_key=key&oauth_nonce=21930b97f7dbc64d7c3919b9d258cc32&oauth_signature=aQ64QLKpbirr%2Fnj%2FHhvnAS4IPuU%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1534423653&oauth_token=requestkey&oauth_version=1.0

Making Authenticated Calls

Using your Access Token you can make authenticated calls.

A successful request will echo the non-OAuth parameters sent to it, for example:

method=foo&bar=baz

An unsuccessful request will attempt to describe what went wrong.

Example

http://oauthbin.com/v1/echo?bar=baz&method=foo%2520bar&oauth_consumer_key=key&oauth_nonce=195086bf318982fd18fcfa2ca2bb0455&oauth_signature=zoDbin%2FLY8hKG3JQu6xDQuvOt%2BU%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1534423653&oauth_token=accesskey&oauth_version=1.0

Currently Supported Signature Methods

Current signing method is: HMAC-SHA1