Logic Machine Forum
to pass credentials in URL - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: to pass credentials in URL (/showthread.php?tid=3107)



to pass credentials in URL - gdimaria - 15.01.2021

Hi, since to pass credentials in url (i.e. http://user:password@example.com) is deprecated and not working anymore in the most of web browser, is still possible to pass them in base64 encoding (in the example: dXNlcjpwYXNzd29yZA==) like we do for a webcam string?

What is the exact format of the URL?  

I tried http://example.com/?auth=dXRlbnRlcDpVdGVudGUwMQ==   

but it still ask me credentials....



thanks

peppe


RE: to pass credentials in URL - admin - 15.01.2021

Passing credentials like this is not a standard feature, the website must support it otherwise it will not work.


RE: to pass credentials in URL - CristianAgata - 12.01.2022

(15.01.2021, 15:12)admin Wrote: Passing credentials like this is not a standard feature, the website must support it otherwise it will not work.

Hi Admin,
If a webcam doesn't have in the URL the possibility to pass credentials, is there a way to connect with it?
An example hikvision has not the credentials in the URL and anonymous user in the features.
Is there a way to integrate it?
Best regards Cristian


RE: to pass credentials in URL - admin - 12.01.2022

You will probably need an external device like Raspberry Pi to act a proxy for the stream without credentials.


RE: to pass credentials in URL - CristianAgata - 12.01.2022

(12.01.2022, 14:07)admin Wrote: You will probably need an external device like Raspberry Pi to act a proxy for the stream without credentials.

Thanks for the answer I will check on google some example.
Best regards Cristian