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=dcbb146c57f54af4e721789e67a457c3&oauth_signature=XyFB1KH91y96OkloQ7vvxKA20z16mUE6D8YDufxIQF0pNabtmsbtZwV3J1U6GHFz6UYcG7C6PEzUs2mUh0GsTG7cUmJOAR3FtGuF7kpDYFjfiq%2F0GDnQND8mF4rmgjSRN1bcuGDWmYwGhjg%2Bz3R%2Bu7RngHXv1ZsR4SBDDbjjBZA%3D&oauth_signature_method=RSA-SHA1&oauth_timestamp=1529457578&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=65c443ccf854dbf4ecfa0b62352106cf&oauth_signature=fnCDJWJXkhtyzZ65L6%2F6noQdhTAq%2FLBNaUICuEUfX3xQRg6pXr9Prl6DldsAHx43Hfq5qYhZ8iYKe2ZB9qtC7y9l6u9pyKffIuT6UexsoT%2BsIqy3%2Bu3cuLQJNY4aq2y9j8xWgAdgF3mQhWKBx1dn83abJa1QQH46CO9k8c6uTC4%3D&oauth_signature_method=RSA-SHA1&oauth_timestamp=1529457578&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=0036097cd3af8e9aa670599e11bd03dd&oauth_signature=YzuRfEFRZghCpnFpFhLCvVVpSkK9tYkhZ7yTALxa1JAEA9S7dHdN0V9Q%2BO6mqbbBgDo2awEX9TaP8TF68TUzGFXknyWCz8VFf%2FjGI1mjsOOJTgybTaifxVN1fJyNNPZOSKRfQZbjoNAoy4AYb1L9Qo16qf0o1%2F39%2F4QXaeOfi9M%3D&oauth_signature_method=RSA-SHA1&oauth_timestamp=1529457578&oauth_token=accesskey&oauth_version=1.0

Currently Supported Signature Methods

Current signing method is: RSA-SHA1

-----BEGIN PRIVATE KEY-----
MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBALRiMLAh9iimur8V
A7qVvdqxevEuUkW4K+2KdMXmnQbG9Aa7k7eBjK1S+0LYmVjPKlJGNXHDGuy5Fw/d
7rjVJ0BLB+ubPK8iA/Tw3hLQgXMRRGRXXCn8ikfuQfjUS1uZSatdLB81mydBETlJ
hI6GH4twrbDJCR2Bwy/XWXgqgGRzAgMBAAECgYBYWVtleUzavkbrPjy0T5FMou8H
X9u2AC2ry8vD/l7cqedtwMPp9k7TubgNFo+NGvKsl2ynyprOZR1xjQ7WgrgVB+mm
uScOM/5HVceFuGRDhYTCObE+y1kxRloNYXnx3ei1zbeYLPCHdhxRYW7T0qcynNmw
rn05/KO2RLjgQNalsQJBANeA3Q4Nugqy4QBUCEC09SqylT2K9FrrItqL2QKc9v0Z
zO2uwllCbg0dwpVuYPYXYvikNHHg+aCWF+VXsb9rpPsCQQDWR9TT4ORdzoj+Nccn
qkMsDmzt0EfNaAOwHOmVJ2RVBspPcxt5iN4HI7HNeG6U5YsFBb+/GZbgfBT3kpNG
WPTpAkBI+gFhjfJvRw38n3g/+UeAkwMI2TJQS4n8+hid0uus3/zOjDySH3XHCUno
cn1xOJAyZODBo47E+67R4jV1/gzbAkEAklJaspRPXP877NssM5nAZMU0/O/NGCZ+
3jPgDUno6WbJn5cqm8MqWhW1xGkImgRk+fkDBquiq4gPiT898jusgQJAd5Zrr6Q8
AO/0isr/3aa6O6NLQxISLKcPDk2NOccAfS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