Skip Menu |

This queue is for tickets about the Catalyst-Authentication-Credential-OAuth CPAN distribution.

Report information
The Basics
Id: 73425
Status: new
Priority: 0/
Queue: Catalyst-Authentication-Credential-OAuth

People
Owner: Nobody in particular
Requestors: bitcard [...] micah.ws
Cc:
AdminCc:

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



Subject: Query Params not propagated to user_auth_endpoint
Query parameters passed to a protected action are not propagated to the user_auth_endpoint, and thus would be lost upon redirection. I have attached a diff that adds query parameters to oauth_callback. Please commit if this is an appropriate addition. -micah
Subject: OAuth.diff
--- OAuth.pm 2011-12-22 13:22:32.000000000 +0000 +++ OAuth.pm.new 2011-12-22 13:09:08.000000000 +0000 @@ -54,7 +54,7 @@ request_method => 'GET', signature_method => 'HMAC-SHA1', oauth_version => '1.0a', - callback => $c->uri_for( $c->action, $c->req->captures, @{ $c->req->args } )->as_string + callback => $c->uri_for( $c->action, $c->req->captures, @{ $c->req->args }, $c->req->query_params )->as_string ); $c->log_debug( "authenticate() called from " . $c->request->uri ) if $self->debug;