logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
showstream  
#1 Posted : Saturday, July 25, 2020 12:05:41 AM(UTC)
showstream

Rank: Newbie

Groups: Registered
Joined: 7/24/2020(UTC)
Posts: 2
Man
United States
Location: New York

Hello,

I am attempting to connect a JSON data source that requires a username and password to access. Vmix is only able to give me a 401 / unauthorized error message in red. I tried including the username and password in the URL but that won't work either. Help!

Thanks,
Robert

JSON LINK EXAMPLE
https://example.edu/admin/feed.php

THIS DOES NOT WORK EITHER
https://username:password@example.edu/admin/feed.php
stigaard  
#2 Posted : Saturday, July 25, 2020 1:13:11 AM(UTC)
stigaard

Rank: Advanced Member

Groups: Registered
Joined: 5/20/2015(UTC)
Posts: 493
Man
Denmark
Location: Copenhagen, Denmark

Thanks: 382 times
Was thanked: 100 time(s) in 79 post(s)
Is the data source using HTTP Basic Authentication?
showstream  
#3 Posted : Saturday, July 25, 2020 2:12:28 AM(UTC)
showstream

Rank: Newbie

Groups: Registered
Joined: 7/24/2020(UTC)
Posts: 2
Man
United States
Location: New York

Yes, the data source is using HTTP Basic Authentication
stigaard  
#4 Posted : Saturday, July 25, 2020 5:30:33 AM(UTC)
stigaard

Rank: Advanced Member

Groups: Registered
Joined: 5/20/2015(UTC)
Posts: 493
Man
Denmark
Location: Copenhagen, Denmark

Thanks: 382 times
Was thanked: 100 time(s) in 79 post(s)
Modern browsers don't allow basic auth authentication via the address itself, and there is AFAIK no way in vMix to authenticate basic auth for data sources.

There are some options for you as I see.
A) If data source service allows authenticating through unique token in the url.
B) Find/make a local web server that can act as proxy authenticating requests to the data source.
C) Hope vMix implements options for this. If you wish this, you should create a feature request to the forum.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.