Openid Openid is not widely used in China, and few sites support openid logon. But add some openid information first. What is openid? The so-called openid is to use a URL for login account and password verification. In details, you do not need to register or enter a password. you can log on to the website as long as you have an openid. It may be a bit difficult to understand. Next, let's get a little deeper understanding. Assume that you have applied for an openid from a website that can apply for an openid. The link is "yys.163.com" {Openid is a URL link, not a previous letter or letter + number.} What is openid? Openid is an open and discrete open-source framework for user digital identification. Let us think about the types of online accounts we own: blog, wiki, to-do list, and personal album. Today, with the increasing popularity of network applications, these personal online accounts are countless, and the needs for accounts are also everywhere, even if we want to make comments on a friend's blog, We need to register as a user of the blog system. As an end user, we had to set up accounts on each website and manage numerous accounts. With openid technology, you do not need to manage these independent accounts, but manage your unique identity through the authentication server. A common application scenario of openid: a user attempts to log on to an external website. Unlike the method of submitting a user name and password, he only submits his own URL, for example: http://johnsmith.example.com/ This URL points to the user's openid authentication server and is also the user's identity. Therefore, external websites can use this URL to find the user's authentication server and ask the authentication server: "This user claims that he owns this URL. This URL indicates that you are responsible for the authentication, so please tell me if this user can visit my site ?". The authentication server prompts the user to log on to the authentication system and asks whether the user can perform authentication with an external website. If the user agrees, the authentication server will notify the external website that the user has passed the authentication. Above, we use anthropomorphic expressions to vividly interpret the entire authentication request/response process. You can use the same URL as an identifier for any external website that supports openid authentication. This is exactly the biggest difference between openid and other traditional authentication methods. By using URLs, external sites can easily obtain the server location for authentication. Only the authentication server needs to enter a password to verify the user's identity. Other sites that want to authenticate user identity will ask the user's registered authentication server. If you are using a portal site that supports openid (such as AOL), you can use the ready-made AOL Instant Message Logon account to log on to the AOL site without having to register it. Therefore, we can guess that Google and Yahoo may have begun to build their openid service. You must know how openid implements the decentralized service? Because the user has the right to select the openid service provider, you will initially choose AOL as the openid provider. After a while, you may feel that you want to change to another openid provider, in this case, you need to modify the following HTML tags: <link rel="openid.server" href="http://openid.example.com/"> The most common location for saving the link metadata is the root page of a personal site (such as a blog. How to Use openid? Openid perfectly solves the synchronization problem of multiple accounts, but not just that. For example, you can use it to create a Single Sign-On (Single Sign-On) across applications and cross-domains ). If you use the same openid to log on to the blog and personal album, you only need to perform one authentication during the logon process. For each application to be logged on after this (in the same session cycle), you only need to provide the openid instead of the traditional user name and password. Most openid providers also provide support for multiple configurations. In this way, you can use Bob Smith to log on to your blog and use Robert J Smith to log on to the enterprise wiki. With the increasing maturity of the openid provider and the improvement of the openid function, we will soon use the service to authenticate users from the openid Authentication Server Host Name of the partner company. Which websites support openid? Shortly after the emergence of openid technology, it has gained popularity among many public consumption sites: Digg, Six Apart, zoomr, and AOL. Among them, AOL provides openid support for old users, so that 65 million of login users can use openid within one day. At present, more than 95 million of users can use openid to log on to the system, and 25 to 50 sites are added to the team that supports openid specifications every day. In addition, openid provides support for firefox3 and Microsoft Windows Vista. The following is a list of languages that implement the openid code library: • C # • C ++ • Java • Perl • Python • Ruby • PHP • ColdFusion The openid community maintains a list of these code libraries: http://openid.net/wiki/index.php/libraries. |