I need to get the username and the password that a browser has send to my node.js application from the url.
I digged through various documentations and objects but I can't find anything useful. Does anybody know how to do that? Using Authentication header is not an option because modern bowsers don't set them.
https://username:password@myurl.com/
=================
// /\
// ||
// I need this part
Thanks for your help!
from How to fetch username and password from url using basic authentication in node.js?
No comments:
Post a Comment