karlheyes / icecast-kh

KH branch of icecast
GNU General Public License v2.0
297 stars 105 forks source link

Custom auth realm #362

Closed art1c0 closed 1 year ago

art1c0 commented 2 years ago

I'd like to pass custom message in the Auth window using standard "realm" feature. Now it looks like this "Please enter a valid login name and a password for realm icecast.", see screenshot from VLC player:

Screen Shot 2022-03-14 at 10 44 46

I tried to set the headers like this: ('icecast-auth-user', '0') ('icecast-auth-message', '401 ' + message) but no luck.

Please suggest how this can be achieved.

karlheyes commented 1 year ago

realm is an available authentication option. I suppose it could be something sent by the auth server but that is not coded in.