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=c049ed5f-5bd5-457f-9b67-6bd0c71a62ff&oauth_signature=DJPcEtKM1BqAdKBvYwy4wtLQTYY=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1406732953&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=0bbac017-5935-4b26-98bb-5778a8a5d1c4&oauth_signature=q/2jRI1Q5PCo+fs1K3+M4ht2E20=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1406732953&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=4f2c9732-ba6a-4dd4-985f-8c108d8c0fdd&oauth_signature=HBvigE5EzbGM7Eom02CZnXJ2w0E=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1406732953&oauth_token=accesskey&oauth_version=1.0&method=foo bar&bar=baz should echo: method=foo bar&bar=baz