I have a spec for a project that accesses a third party remote API RESTfully and requires oAuth. The spec includes the following text:
Access to the API requires the use of the OAuth protocol. A
per-organisation shared secret / access key combination prevents
access from unauthorised parties. Because the service endpoint
identifies the organisation, no other parameters are expected to be
passed in the OAuth header that encapsulates the REST request.
Of this, I don’t fully understand the following:
Because the service endpoint
identifies the organisation, no other parameters are expected to be
passed in the OAuth header that encapsulates the REST request.
oauth_*parameters can be passed either in the Authorization header or as URL params. I read that quote as meaning if you pass theoauth_*values in the Authorization header don’t include other values in the header.OAuth params as a header:
OAuth params in the URL: