Subject: | Net::OAuth2::Profile::WebServer::update_access_token is busted |
patch below,
params from response returns a hash (or array), not a hashref.
diff -r Net-OAuth2-0.52/lib/Net/OAuth2/Profile/WebServer.pm Net-OAuth2-0.52-dev/lib/Net/OAuth2/Profile/WebServer.pm
114c114
< my $data = $self->params_from_response($resp, 'update token');
---
Show quoted text
> my %data = $self->params_from_response($resp, 'update token');
116c116
< my $token = $data->{access_token}
---
Show quoted text> my $token = $data{access_token}
119c119
< my $type = $data->{token_type};
---
Show quoted text> my $type = $data{token_type};
121c121
< my $exp = $data->{expires_in}
---
Show quoted text> my $exp = $data{expires_in}