OpenID Login Box
From OpenID Wiki
Contents |
Authors
- Johannes Ernst
- Chris Messina
Status
- This document is in early discussion and is not considered final or authoritative.
Appearance
General
- We cannot prescribe the color scheme or size, but we can decide what elements go on it.
Container fieldset
- a "what is this" (label tbd) button that leads to an explanatory page on how to use OpenID
A first draft is at http://netmesh.info/jernst-files/openid/login-dialog.html
I would suggest that we set some sort of standard OpenID login box that is different visually than the norm. One idea would be to have more of a web 2.0 taller field and possibly colored text in the field.
OpenID identifier input field
- previously the OpenID logo/mark was positioned via CSS to indicate an "OpenID input field"
- Note: subsequent implementations have pre-filled the 'http' protocol, which may cause some confusion for i-names users and to users that are given URLs without the "http://" string at the beginning
- Note: OpenID 1.1 specification recommends to have a standard name "openid_url" for the input field. Browsers depend on the name of the input field to suggest previously filled-in values for similar text boxes. It could be used as well by browser extensions automating OpenID login. (Disadvantage: form parsing and spamming with self-hosted fake openid servers becomes easier, but any form of standardisation will lead to that and anti-spam measures will have to be taken anyway). With OpenID 2.0, this will likely change to "openid_identifier" (motivation).
Example: <input name="openid_url" value="http://" size="40" type="text">
Behavior
The OpenID login box will have the following characteristics:
- two modes, toggled with JavaScript:
- Username/password mode, showing the traditional username/password fields
- OpenID identifier field, but not password field
- sites will default to one or the other mode, depending on whether more of their users will use OpenID or username/password

