How does Single login work for many websites – OpenID

As we browse the web, we realize that each of the websites asks for authentication. So for example, if you are at Google Mail, it asks for entering the name and password combination. Browse to another site like Amazon and they ask for their own authentication.

These name and password combinations are tedious to remember but also difficult from a security point of view. For your account, they are stored on web servers that keep them in a secure area that is hopefully well encrypted. In many cases, since the name/password combinations are difficult to remember, the users like to make the browser store them.

However, there has to be a better way. One example of that technology is called OpenID. This is a single authentication scheme that works across different websites. Google login’s for example work with other providers. How does it work?

What is it: OpenID allows you to use one account to sign into multiple websites. You can choose to share more information about you, or limit them – it is upto you. However, it does make the task much simpler.

How does it work? OpenID uses existing internet technologies, HTTP, SSL that can be used to create OpenID’s. Interestingly, the website that you login does not know you identity but rather will let you login as long as the server where you are authenticated on (say Yahoo! Or Google) allows the transaction to continue.

The steps for authentication are as follows:

  • User requests access to a website. The website asks for User’s OpenID identity
  • User enters their identity which is usually a website URL like address: xyz.server.com
  • Website server looks up up the website (xyz.server.com)
  • The website POSTs an “associate” request to the identity server and they both establish a Diffie-Hellman key exchange without passing anything through the internet.
  • The server provides a handle for future requests
  • The user is sent to the server website HTML code to authenticate the password
  • The server then redirects the authenticated user with a trust user message back to the website to continue the transaction.

There are several steps that are taken to prevent spoofing, hackers through exchange codes that enables continued authenticity.

OpenID is becoming extremely popular with nearly a billion user accounts and >10 million websites, so but since no one really owns it, it is decentralized. Anyone could become a server as well as a client, though the server needs to be an openID provider. There are a few blogs that talk about the process but it should be used more often by users.

http://www.windley.com/archives/2006/04/how_does_openid.shtml

http://tinisles.blogspot.com/2008/02/how-does-openid-work.html

Diagram from OpenID

Similar Posts

  • Technology: Does brain perform multi-tasking like computers?

    The term multi-tasking probably originated from computer terminology wherein two simultaneous tasks are carried on by the computer by distribution of tasks to various processors. A “super”computer was defined as on which had many processors and a lot of memory that could process computations in parallel. The human brain is obviously capable of some elementary…

  • |

    Knowledge graphs

    Knowledge graph is a way of representing information where entities/nodes (people, places, products, concepts) are linked by relationships/edges (works, creates, has ). It is a semantic network that captures facts and context. There is also an ontology that defines different types of node/edges and defines what types exist and how they relate. These are used…

  • Time technology

    Currently the line of thinking is that technology is complex and we need to complex instrumentation and thoughtful experiments over a long period of time before a new technology is created. However, consider time. We take for granted that the clock divides the day into 60 minutes, with 60 seconds per minute and 24 hours…

  • Windows recovery programs

    Almost all versions of computers need to be backed up. The two that have been very robust and offer good backup and cloning solutions are: Reflect Disk Imaging: http://www.macrium.com/reflectfree.asp Paragon Backup & Recovery Free Edition: http://www.paragon-software.com/home/db-express/download.html These are the ones that offer very good flexibility as well as allow you to make bootable disks.

  • Measurement technology

    One of the oldest measuring technology is the sextant. A small device that measures the angle of the sun at noon, can predict the latitude of the earth. It is also possible to figure out the longitude and from there the exact location. In the past, using the stars enabled figuring out the location with…

  • Discoveries and Publicity

    A university in Netherlands, Eindhoven institute of technology discovered a protein that is a variety of luciferase that generates light based on the concentration of the analyte. They also modified it so that another protein that is integrated to the same protein converts the light that is emitted to another color based on the binding…