Fetching browser cookie in node red

Hi.

Is there any way of fetching browser cookie inside authentication function ? basically I want to fetch cookie what i get from browser into my settings.js file.
I Want to fetch from the below cookie

I want to fetch it in this code below

Please do let me know if is there any possibility I can do to get the cookie.

Thanks!

No, the authenticate function is used for username/password based authentication - and that's all the function is provided.

Can you explain why you want to access the cookie as part of your authentication? There may be more suitable alternatives available.

by fetching cookie or token, I want to verify if my user has read or write permission. basically this need to be done without any login. if not authentication maybe some other alternative?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.