[cl-openid-ticket] [cl-openid] #17: signal an error if discovery didn't discovered anything

cl-openid cl-openid-devel at common-lisp.net
Sun Jun 5 22:39:25 UTC 2011


#17: signal an error if discovery didn't discovered anything
------------------------+---------------------------------------------------
 Reporter:  avodonosov  |       Owner:                 
     Type:  defect      |      Status:  new            
 Priority:  major       |   Milestone:                 
Component:  code        |     Version:  0.5 nonportable
 Keywords:              |  
------------------------+---------------------------------------------------
 If discovery process doesn't discover the necessary information (provider
 endpoint at least, but we should check by the spec the minimum required
 attribute list), the function should signal an error, instead of leaving
 NILs in the AUTHPROC structure, and allow the library fail later (which is
 inconvenient to debug).

 It's necessary to add a check to the end of the discovery process, that
 verifies that the required minimum of information is discovered.

 I encountered this problem when was recently testing with technorati.com -
 they previously were providing OpenID, and I registered an account.

 The OpenID identity URL is
 http://technorati.com/people/technorati/clopenid. Today this page does not
 have the <link> tags necessary for discovery. In result, the discovery
 process just silently created an AUTHPROC struct with NILs. The error
 occurred somewhere later in the control flow.

-- 
Ticket URL: <http://trac.common-lisp.net/cl-openid/ticket/17>
cl-openid <http://common-lisp.net/project/cl-openid>
cl-openid




More information about the cl-openid-ticket mailing list