Allow access tokens to be gathered as parameters too (#1098)
This commit is contained in:
parent
89527b47f2
commit
33fe8f11dd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user