# Unable to perform basic http authentication

**URL:** <https://forum.katalon.com/t/unable-to-perform-basic-http-authentication/12394>\
**Category:** Miscellaneous\
**Created:** [August 4, 2018, 11:18am UTC](https://forum.katalon.com/t/unable-to-perform-basic-http-authentication/12394 "2018-08-04T11:18:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jagjeet\_Singh](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@Jagjeet\_Singh](https://forum.katalon.com/u/Jagjeet_Singh)\
**Post date:** [August 4, 2018, 11:18am UTC](https://forum.katalon.com/t/unable-to-perform-basic-http-authentication/12394/1 "2018-08-04T11:18:24Z")

</div>

Hi Team,

I am using “WebUI.authenticate” to authenticate my application.

It gives me this error:

Unable to navigate to authenticated page (Root cause: org.openqa.selenium.WebDriverException: unknown error: unhandled inspector error: {“code”:-32000,“message”:“Cannot navigate to invalid URL”}

URL I am trying to access is: [http://optimuscf.staticso2.com/PAMP1111](http://optimuscf.staticso2.com/PAMP1111)

Sorry but I can not disclose the password, just to let you know that my password contains “@” symbol, is it causing the problem?

Please suggest.

---

<div class="post-metadata">

**Author:** ![Marek\_Melocik](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/marek_melocik/32/371_2.png) [@Marek\_Melocik](https://forum.katalon.com/u/Marek_Melocik)\
**Post date:** [August 5, 2018, 9:27am UTC](https://forum.katalon.com/t/unable-to-perform-basic-http-authentication/12394/2 "2018-08-05T09:27:53Z")

</div>

Hi Jagjeet,

Yes, I think there may be a problem when you use (at) sign - I don’t know how Katalon uses it internally, but generally, Basic auth can be performed as **[https://username:password@yoursite.com](https://username:password@yoursite.com)** and your (at) sign may make a mess.

Try to use HEX representation of (at) which is **%40** - so if your password is “myP@ssword”, rather use “myP%40ssword”

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [August 6, 2018, 1:48am UTC](https://forum.katalon.com/t/unable-to-perform-basic-http-authentication/12394/3 "2018-08-06T01:48:31Z")

</div>

Once I have ever tried `WebUI.authenticate()` and found it does not work.

I’ve tested using format

```auto
WebUI.navigateToUrl('http://user:pass@host')

```

and it works.
