[OpenID] Scheme in OP-Local ID
Martin Atkins
mart at degeneration.co.uk
Thu Sep 6 17:19:27 UTC 2007
Jack wrote:
> Hi,
>
> Are the following two OP-Local identifiers the same identifier?
>
> 1) http://user.example.com/
> 2) https://user.example.com/
>
> What about this one?
> 3) http://USER.EXAMPLE.COM/
>
> I can't see anything in the spec that says that an OP-Local identifier
> can have more than one string representation. I also can't see anything
> that says it can't; but if it can, then I would have expected to find
> some prose explaining what restrictions should be enforced.
>
> I would suppose that 1) and 2) are different identifiers, and that 3) is
> the same as 1).
>
>
The clue is in the name! :)
An OP-local identifier can be interpreted in any way the OP likes.
LiveJournal, for example, just uses a regex to extract the username
portion of the URL, so your OP-local identifier is fine as long as it
matches LJ's regex.
More information about the general
mailing list