apiembed icon indicating copy to clipboard operation
apiembed copied to clipboard

Http basic auth

Open nodesocket opened this issue 10 years ago • 4 comments

Is prompting for http basic auth possible? How would that work?

nodesocket avatar Mar 17 '15 01:03 nodesocket

@nodesocket been contemplating on that, were you thinking in the GUI or in the code output (library methods, CLI arguments)

I'm thinking of the latter, extending the HAR format to allow for authentication specific properties, allowing library output code to use methods / handlers specific to setting authentication headers (rather than directly setting the Authorization header value as it does now)

ahmadnassri avatar Mar 17 '15 02:03 ahmadnassri

For us, it would be awesome to prompt for username, password right in code output and that would simply just inject those values into each language (client-side).

Does that make sense?

nodesocket avatar Mar 17 '15 02:03 nodesocket

makes sense ... will have to think about that more, keeping this ticket open for now.

ahmadnassri avatar Mar 17 '15 03:03 ahmadnassri

has this been given any more consideration?

bdentino avatar Apr 13 '17 21:04 bdentino