Friday, 14 June 2019

OAuth-2 - Getting additional user data before authenticating & redirecting the user?

Beginner here. Say I have a web app, and I'm charging for it. I dont my users to be able to register unless they're also paying. I have implemented oauth just now and am using google and facebook with it. However, oauth will login & redirect the user to my app straightaway, - but I need some additional payment data from the user (and charge the user) before I want this to happen.​How do you guys usually handle this? Any suggestions? or am i misunderstanding the whole point of oauth?

Submitted June 14, 2019 at 08:49PM by christophanderson12

No comments:

Post a Comment