Need to pseudo code to help me understand oauth -
can please me understand how use oauth authentication allow users access secure sections of website?
i looking psudo code.
for example, when gets authenticated using facebook id,
do need store fact have been authenticated, use session id created facebook in future , compare session id's stored in database?
if yes, happens if facebook user removes application facebook account, latest decide use same id again login website again? session id still match 1 stored in database?
if no, not store in database?
when interaction between user , facebook finished, you'll given token should associate user , persist in database. you'll able use time (configured facebook) , should expect http unauthorized response. in case have present facebook page user can put username password again.
Comments
Post a Comment