I was having difficulty with discover, and I do not want to enable permissions to view profiles for anonymous users... I did notice that the XRDS-Location: header is set even is result->error is true. This patch modified discovery to go ahead and check the headers... It may be overkill, but gets the job done.

CommentFileSizeAuthor
#1 openid-discovery.patch3.89 KBdopry
openid-discovery.patch4.42 KBdopry

Comments

dopry’s picture

StatusFileSize
new3.89 KB

here is a slightly cleaner patch without the debugging.