httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lybarger <mlybar...@gmail.com>
Subject [users@httpd] extract auth header from query string
Date Wed, 15 Nov 2017 18:27:52 GMT
i have a user who is connecting to a websocket that requires a basic
authenticaion header.  they're doing this from the browser's javascript as

wss://user:pass@myhost.com/endpoint

that's not supported in all browsers (Safari on iphone). as a workaround,
perhaps they can use:

wss://myhost.com/browserendpoint?creds=user:pass

then apache can rewrite to the correct url and add the needed Authorization
header.?

Any help on implementing or other ideas would be most appreciated.

Thanks!
-mark-

Mime
View raw message