OAuth Login programmatically using backend Nodejs instead of browser

Hello,
I want to use social auth in Auth0 with Nodejs, but instead of using the browser UI, I need to make separate api calls from my server to auth0 to get the access token and its information.