# Open webpage that needs a login in perspective

**URL:** <https://forum.inductiveautomation.com/t/open-webpage-that-needs-a-login-in-perspective/41574>\
**Category:** Ignition\
**Tags:** perspective, scripting, ignition80\
**Created:** [December 16, 2020, 5:04pm UTC](https://forum.inductiveautomation.com/t/open-webpage-that-needs-a-login-in-perspective/41574 "2020-12-16T17:04:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [December 16, 2020, 5:04pm UTC](https://forum.inductiveautomation.com/t/open-webpage-that-needs-a-login-in-perspective/41574/1 "2020-12-16T17:04:36Z")

</div>

![ignition4](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/b/7b7c825ae1e11dd5ffe914c349173db932e4318f.jpeg)

The website has a user/pass prompt before you can get in. In vision I could just open an external browser, but that isn’t allowed. I tried this as well, but it says I don’t have the function:

“”"  
from com.inductiveautomation.ignition.client.util import BrowserLauncher  
BrowserLauncher.openURL(URL)  
“”"

Thx, jake

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 16, 2020, 6:26pm UTC](https://forum.inductiveautomation.com/t/open-webpage-that-needs-a-login-in-perspective/41574/2 "2020-12-16T18:26:07Z")

</div>

If it’s a basic auth service, you could try passing credentials in the URL, eg `http://user:password@ipOfInternalService/path` - but note that this syntax is officially deprecated, so support across browsers will vary, and over time tend towards not working. You could stand up a reverse proxy like `nginx` that automatically passes a fixed authentication header to the other service - this is a security nightmare, but so is passing any kind of credential over HTTP in the first place.

---

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [December 16, 2020, 6:34pm UTC](https://forum.inductiveautomation.com/t/open-webpage-that-needs-a-login-in-perspective/41574/3 "2020-12-16T18:34:22Z")

</div>

First suggestion didn’t work, doesn’t seem to even attempt to hit the site. The second I’ll have to look into. Any other ways, it would be nice to launch a browser on the client host.Thx,jake
