How to use azure AD authentication from the server node.js side noninteractively

I've configured azure AD service and a user in this one and used react-adal to get the token, which worked fine. Now I have to edit this feed and have my own login form and send the identification information to the express server node.js. and check these ads in azur ad without creating a login window coming from azure and store the returned token in the passport session. I've tried using node-adal but I do not know how that can be achieved. Can this be done? Are there any examples for this. Thank you