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=cf89056e-5313-4798-9ed3-c37e9758b9e1&oauth_signature=u3MwoOTyc6e2PyMnsOs8wbamAf8=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1414161554&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=dde94162-7cd1-474d-9f31-4cbb0b6d5c12&oauth_signature=aMNphKWfhn8lxiv5oaTAqH1fniI=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1414161554&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=40e49d4d-8a92-4d50-9c7b-8611f1dd0c82&oauth_signature=384tnzQKk+Ec8glZbLrgFKhndWw=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1414161554&oauth_token=accesskey&oauth_version=1.0&method=foo bar&bar=baz should echo: method=foo bar&bar=baz