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
NewsworthyVision  
#1 Posted : Wednesday, October 21, 2020 9:41:02 PM(UTC)
NewsworthyVision

Rank: Advanced Member

Groups: Registered
Joined: 7/19/2017(UTC)
Posts: 45
United Kingdom

Thanks: 11 times
Was thanked: 14 time(s) in 7 post(s)
Hello again,

How does vMix process the username/password for accessing the API, if it is locked down?

Is it as simple as sending it via a web connection like http://127.0.0.1:8088/API/?username=admin&password=1234 ?

Or is it more complicated than that?
thanks 1 user thanked NewsworthyVision for this useful post.
wmsenna on 10/22/2020(UTC)
radian  
#2 Posted : Sunday, November 8, 2020 3:41:31 AM(UTC)
radian

Rank: Newbie

Groups: Registered
Joined: 11/8/2020(UTC)
Posts: 1
Canada

It uses HTTP basic authentication, which is a base64 encoded username:password string in the Authorization request header

https://en.wikipedia.org...ic_access_authentication
NewsworthyVision  
#3 Posted : Wednesday, November 11, 2020 6:56:24 PM(UTC)
NewsworthyVision

Rank: Advanced Member

Groups: Registered
Joined: 7/19/2017(UTC)
Posts: 45
United Kingdom

Thanks: 11 times
Was thanked: 14 time(s) in 7 post(s)
Thanks Radian. I've found using Postman that once authenticated, you're given a token by vMix to access it, which if you implant that token in Postman/browser it will allow you access to the API.

However, once you use the same token in an App, it is rejected because of CORS.

I'll have to look into how to send User/Pass via the app to get the token. Thanks again.
Users browsing this topic
Guest (2)
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.