Auto Login in kibana from winforms application with embeded code browser

I have a .NET winforms app with an embedded browser and i want to automatically login in Kibana from code so users will see kibana dashboard without having to enter credentails.

Is there any way to pass credentials on URLor basic auth or anyone have done something similar?

There isn't a way with credentials in the url on 2.x and 5.x, but it should work with authorization headers.

and how can i set authorization headers? how do i login with user/pass and set the auth header token? I am using 5.0

@jbudz any more info on how to login and set http auth headers? thanks!