Should I distinguish OpenIDs based on protocol prefix or not? http vs https
Posted
by Joannes Vermorel
on Stack Overflow
See other posts from Stack Overflow
or by Joannes Vermorel
Published on 2010-04-06T10:02:37Z
Indexed on
2010/04/06
10:43 UTC
Read the original article
Hit count: 342
I have implemented a straightforward OpenID support for my ASP.NET app with DotNetOpenAuth. Yet I recently realized that the implementation was treating http://johndoe.example.com/
as a distinct user compared to https://johndoe.example.com
.
This lead to quite a few confused users. I am unsure what to do at this point. Is this a bug or a feature?
Indeed, I can consider this behavior as a feature: if the user specifies the HTTPS, the user might not want the system to accept HTTP auth in the first place.
On the other hand: if the user specifies HTTPS out of sheer cluelessness (the casual web visitor is clueless concerning the purpose of the "S" part), then rejecting it's authentication attempt is confusing.
What is considered as the best practice?
© Stack Overflow or respective owner