HI, I am developing a php based simple app that allow a user to interact with the site, without a formal registeration. Here, I want to authenticate the user with oAuth and/or OpenID, using the services given by Google/Yahoo/Twitter/Facebook/AOL/*OPENID*, etc I am now stuck up on 1 point. When I authenticate simply using a URL,eg, in google, all I recieve is a token. My target is to get atleast the user's email and first name. I have absolutely no knowledge of REST API. So I need some simple and easy ideas on this. Can someone please help. The authentication pattern I have in my mind is: User is routed to the Authentication Client like google/yahoo/twitter Then The user gives his username and password THEN a token is generated and the user is re-routed to my page, say http://www.example.com/verify.php with details like the email address and first name and token in the URL itself. I hope I have made my problem clear! HELP SHALL BE HIGHLY APPRECIATED!
This is a code written for phpBB forum to login using a Facebook account in php. This might help you. http://www.phpbb.com/community/viewtopic.php?f=70&t=1692295