In order to configure User Authorization in SS IPTV, operator has to create special script which will return playlist based on authentication data received from GET-params. Playlist returned by such a script must fully meet the requirements of CORS and encoding (utf-8)
Example of script's URL:
http://example.com/playlist.php?user=test_login&pass=test_pass
When the sript is ready, operator has to change Access Type for the package in Operator's Back Office:
- Token - authorization with one param
- Login/pass - authorization with two params
Then the operator needs to enter the link to the script creating the pattern for receiving data from user. Pattern's variables supported:
- ${token} - token entered by user (authorization with one param)
- ${login} - login entered by user (authorization with two params)
- ${password} - pasword entered by user (authorization with two params)
Example:
http://example.com/playlist.php?user=${login}&pass=${password}