Commit 33fe8f11 authored by Clément OUDOT's avatar Clément OUDOT

Allow access tokens to be gathered as parameters too (#1098)

parent 89527b47
......@@ -1129,6 +1129,9 @@ sub getEndPointAccessToken {
if ( $authorization =~ /^Bearer (\w+)/i ) {
$self->lmLog( "Bearer access token", 'debug' );
$access_token = $1;
} elsif ( $self->param('access_token') ) {
$self->lmLog( "GET/POST access token", 'debug' );
$access_token = $self->param('access_token');
}
return $access_token;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment