Subject: | unable to get claimed identity for some openid providers |
For the OpenID providers listed below, the claimed_identity method from
Net::OpenID::Consumer is returning undef. I would expect a
Net::OpenID::ClaimedIdentity object to be returned for these.
yahoo.com
technorati.com
pip.verisignlabs.com
I have attached a file which includes tests for these (except verisign).
Subject: | 03-providers.t |
use strict;
use warnings;
use Net::OpenID::Consumer;
use Test::More;
my @tests = qw(
https://www.google.com/accounts/o8/id
http://openid.aol.com/joe
http://test.myopenid.com/
http://flickr.com/test/
http://test.wordpress.com/
http://test.blogspot.com/
http://test.myvidoop.com/
http://claimid.com/test/
http://lj.livejournal.com/
yahoo.com
http://technorati.com/people/technorati/test/
);
{
use integer;
plan tests => scalar @tests;
}
for my $url ( @tests ) {
my $csr = Net::OpenID::Consumer->new;
my $identity = $csr->claimed_identity($url);
ok $identity, "Got a claimed identity for $url";
}