[OpenID] openid error mode

Johannes Ernst jernst+openid.net at netmesh.us
Mon Jan 4 18:18:48 UTC 2010


Apparently a few people in the wild do implement openid.error. What do RPs do when they receive that? Display it to the user? Throw up their hands and say "something weird happened"?

There are plenty of problems with the way openid.error is (under-) defined, including:
 - not internationalizable
 - not computer-interpretable
 - unclear whether the conveyed text message is formatted, or how.

Questions:
1. Could we come up with an enumeratable list of error conditions, or are everybody's possible errors different? Error codes?
2. Should we define that the error message be used for internal logging or to be shown to the user?
3. If the latter, should we define that the locale of the error message should be the user's locale at the OP? What if the problem is that the user is not known at the OP? Should the RP pass on a locale?

Happy new year everybody,



Johannes.



More information about the general mailing list