I once wrote
how to integrate OpenID authentication into your site. It was about the server side.
Now I'm talking about the UI part - the widget for choosing a provider.
As a client library for my
project, I chose
prototype and the first thing I did was googling for Google to look for a ready-made solution. I managed to find one, but only for jQuery -
code.google.com/p/openid-selectorAnd so I had no choice but to write the OpenID selector myself. That's what happened
')

Sources can be found here
code.google.com/p/openid-for-prototypeThe appearance of the widget is fully customizable using css.
The code has a list of providers that will be displayed in the selector.
var OpenIDProviders = {
openid: {
name: 'OpenID',
label: ' OpenID.',
url: 'http://'
},
yandex: {
name: 'Yandex',
url: 'http://yandex.ru'
},
google: {
name: 'Google',
url: 'https://www.google.com/accounts/o8/id'
},
Unnecessary need to just delete, you need to add by example.
In the project in Google code there is an example of connection, this is just one line of code.
In general, everyone who wants to
make their startup hospitable can use, as well as modify, this script for their needs.