Can Heartbeat use basic auth to log into a website

Hello Elasticians,

I am trying out the new Synthetics Module in Heartbeat.
The webserver I am trying to check has a basic auth feature implemented. So before I can access the webpage I need to use user and password to log in.

I haven't found any information in the docs if heartbeat can use some basic auth feature to log in before accessing a website that I want to test.

If anyone has an idea, I would appreciate any feedback.

Thank you!

Greetings

Simon

Basic auth for a webserver should mean that you can include those details in the URL. Have you tried that?

1 Like

Hello Warkolm,

it looks more like this in chrome:

I can't see any changes in the url when I log in.

Greetings

Simon

I believe what @warkolm means is u can do https://<user>:<pass>@<fqdn> to do basic auth as part of the url.

2 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.