OAuth documentation

Does anyone have any examples of using Foreman's OAuth via curl? It looks
like the username, key and secret need to get passed in, but I don't see
anything referencing exactly how these should be passed in.

Thanks.

Using OAuth with the API isn't really possible from curl, as it involves
signing the request. You'd be better to use -u username:password.

··· On 12/05/16 19:35, Jack Watroba wrote: > Does anyone have any examples of using Foreman's OAuth via curl? It > looks like the username, key and secret need to get passed in, but I > don't see anything referencing exactly how these should be passed in.


Dominic Cleal
dominic@cleal.org