Jump to content

Access media file from outside network behind a proxy


Recommended Posts

Posted

I have an user behind a reverse proxy and it seems media access url like 

https://host/Videos/151785/stream?static=true are now blocked and return Access token is invalid or expired. (Works on lan and wan without proxy)

This url is used via external players so I can pass the headers as headers, is there a way to pass the auth token in the url?

(Creating an API key and using it works, but I'd like to avoid requiring users to do that as I already properly handle all the auth and tokens)

 

Posted

Hi, you'll have to use the api_key param as you've discovered. You can also use the user's current authentication token as that value as well.

Posted
Just now, Luke said:

Hi, you'll have to use the api_key param as you've discovered. You can also use the user's current authentication token as that value as well.

Ho the auth token works in the api_key, perfect :) Thanks for the quick answer.

Posted

Thanks for the feedback.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...