Tagged Questions
0
votes
1answer
136 views
NodeJS Native basic authentication
Is there a node-native way to parse basic authentication?
Steps would be:
Find Authentication header
Parse the encoded value
Tokenize on the colon and return the user/pass
Perhaps friendly error ...
0
votes
1answer
157 views
What Node Rss module handles authentication
I need to call an RSS feed using basic authentication. How best can I do this?
I tried node-easyrss, but the call doesn't have a parameter for authn.
var request = client.request('GET', address, ...
1
vote
0answers
265 views
Logout BasicAuth in node.js
i have reference for http://blog.modulus.io/nodejs-and-express-basic-authentication
my code conect my database mongodb:
var admin = express.basicAuth(authentikasi);
function authentikasi(user, ...
0
votes
0answers
22 views
Hubot/Express: disable basic auth in a specific route
I am using Hubot and I've defined the environment variables EXPRESS_USER and EXPRESS_PASSWORD to enable basic authentication. Hubot uses express and basically it's
setupExpress: ->
user = ...
0
votes
0answers
39 views
Add Authentication to a particular url route in nodejs
I am using the director routing module (part of flatiron stack) for routing request in a simple nodejs application. I was wondering, if there is a way to add simple authentication to only a ...
0
votes
0answers
108 views
Node.js express.basicAuth unauthorized
I have an android app that comunicates with my node Express app. I send the json from my app and it works fine with the following code
app.post('/ReceiveJson', function(req, res) {
var paramName = ...