Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dancer-Plugin-Auth-Twitter CPAN distribution.

Report information
The Basics
Id: 77600
Status: new
Priority: 0/
Queue: Dancer-Plugin-Auth-Twitter

People
Owner: Nobody in particular
Requestors: PJCJ [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.02
Fixed in: (no value)



Subject: auth_twitter_authenticate_url returns the authorisation URL
auth_twitter_authenticate_url returns the authorisation URL. This means that the user has to authorise the application every time they login. The attached patch fixes this and brings it into line with Catalyst::Authentication::Credential::Twitter.
Subject: tw.patch
--- /home/pjcj/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/Dancer/Plugin/Auth/Twitter.pm.org 2011-01-17 10:53:24.000000000 +0100 +++ /home/pjcj/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/Dancer/Plugin/Auth/Twitter.pm 2012-06-03 02:15:19.035694131 +0200 @@ -51,7 +51,7 @@ croak "auth_twitter_init must be called first"; } - my $uri = twitter->get_authorization_url( + my $uri = twitter->get_authentication_url( 'callback' => $callback_url );