Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently the HTTP module includes the ability to support a preemptive Authorization: Basic-Auth <base64> authentication. (This is one where the client's request includes the Basic-Auth header providing correctly encoded credentials allowing the client's interaction with the Broker to be 'single-shot', without the need to separately authenticate a session). This is very useful when scripting with tools such as curl.
This ability should be generalised so that other types of preemptive authentication can be supported too. One example would be a OAUTH's bearer authorization header Authorization: Bearer <token. See https://tools.ietf.org/html/rfc6750#page-5.