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=130eb502-5067-4798-abec-77a87653b251&oauth_signature=DxyZBuhfHX4/uZuS5uhTViXpwgc=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1466935396&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=4a0627d9-1b6c-4603-9f23-cc503b34b308&oauth_signature=gpodmCj+RBPu0wE4hLzR4GFrKRA=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1466935396&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=4904fdff-5ad9-42a1-9434-c9b3b73bc2ac&oauth_signature=QB0vc08bqlGxNjVS1xse2FDJEKY=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1466935396&oauth_token=accesskey&oauth_version=1.0&method=foo bar&bar=baz should echo: method=foo bar&bar=baz