简体   繁体   中英

how to redirect a user to complete the registration process after social signup with the data obtained from those socials, [passport,node.js]

Being new to the world of node.js for a couple of months now, I still find somethings challenging. Please how do I redirect redirect a user to complete his registration with the data obtained using social signup like Facebook or Google, I am using passport and right now I've not been to figure out how to achieve that. Please help.

Most of the public auth has a field like "redirecr_url" to redirect to with authentication token in the request in order to finish up third party logic.

You can redirect to one of your app's page and write routes logic to finish anything you want

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM