werthdavid / homebridge-website-to-camera

Homebridge plugin that displays a Website as virtual camera (intended for Google Maps Traffic)
MIT License
54 stars 7 forks source link

Parse Login / API? #8

Closed Glynnryan closed 5 years ago

Glynnryan commented 5 years ago

Although more of a help request than an issue, I am pointing the plugin to an site on my local network, which requires login details to be entered on first login. I've tried login in from Chromium browser first, but when viewing the feed through the plugin, it displays the login screen for my locally hosted site.

Any idea how to bypass this or somehow send username and password detail through? The application I am trying to view does have API functionality, if that might help?

Thanks in advance!

Glynnryan commented 5 years ago

Edit - Tried to set the best title. ¯_(ツ)_/¯

martijnmnnk commented 5 years ago

Is the site asking for your credentials through http authorisation? If yes, then you can login like this: http://username:password@www.domain.com

Glynnryan commented 5 years ago

@Brklnbnc Thanks for that! I got it working thanks to your suggestion!