OAuth Echo Service Provider Demo

This is a test OAuth service provider with pre-defined keys and secrets and no user authentication step.

Service settings

Request Token URL
http://echo.lab.madgex.com/request-token.ashx
Authorization URL
not required
Access Token URL
http://echo.lab.madgex.com/access-token.ashx
HTTP Methods supported
GET and POST
Is Authorization header supported?
yes
Realm
"" (empty)
Signature Methods supported
HMAC-SHA1
OAuth Versions supported
1.0

Consumer details

Key
key
Secret
secret

Getting a request token

A successful request will return the following token:

Token
requestkey
Secret
requestsecret

An unsuccessful request will describe the error using the Problem Reporting extension.

For example: http://echo.lab.madgex.com/request-token.ashx?oauth_consumer_key=key&oauth_nonce=ef401953-bee1-4c8f-b594-35bb4170a788&oauth_signature=alsys113EbUjELcu5ro2K7niwCg=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1268397164&oauth_version=1.0

Getting an access token

A successful request will return the following token:

Token
accesskey
Secret
accesssecret

An unsuccessful request will describe the error using the Problem Reporting extension.

For example: http://echo.lab.madgex.com/access-token.ashx?oauth_consumer_key=key&oauth_nonce=da681d97-f879-4d12-9eae-cb48dadbc3a5&oauth_signature=0KJSXNuhYFklgUbXcAzGs3AVgvc=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1268397164&oauth_token=requestkey&oauth_version=1.0

Calling the Echo API

Echo API URL
http://echo.lab.madgex.com/echo.ashx

A successful request will echo the non-OAuth parameters.

An unsuccessful request will describe the error using the Problem Reporting extension.

For example: http://echo.lab.madgex.com/echo.ashx?oauth_consumer_key=key&oauth_nonce=8e3c7b43-c645-4a58-9af8-6528d6138f08&oauth_signature=Y4kqx7ISdJNywrYqBzG6BmCHwrQ=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1268397164&oauth_token=accesskey&oauth_version=1.0&method=foo bar&bar=baz should echo: method=foo bar&bar=baz