I am working on a site that will allow users to create an account. Then website developers will be able to integrate that authentication system into their site and allow users to login with my sites login credentials. I am wanting to do it similar to the way facebook connect works so that the users site does not need to redirect to my site to login then we do a callback back to the page they came from.
I know facebook uses cookies but I am not sure how they are checking to see if they are logged in.
Things I have noticed:
Because of this, it looks like they are using cross domain cookies or something but I am not sure how to do this.
Can someone with knowledge of how Facebook Connect works exactly, explain how I can achieve this functionality in my own system?
Facebook Connect is a way for Web or application developers to help their users to connect and share content with their friends, both on and off Facebook. This can increase a site or application's interaction with its users.
In authentication, the user or computer has to prove its identity to the server or client. Usually, authentication by a server entails the use of a user name and password. Other ways to authenticate can be through cards, retina scans, voice recognition, and fingerprints.
Facebook is moving largely to a OAuth 2.0 based solution. Our authentication guide and the official OAuth 2.0 draft spec are good places to start.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With