Relax detection of client authentication type (#2757)
This commit is contained in:
parent
3a82e3af7b
commit
d7ed5c9e35
|
@ -1463,7 +1463,7 @@ sub getEndPointAuthenticationCredentials {
|
|||
$self->logger->error("Bad authentication header: $@") if ($@);
|
||||
|
||||
# Using multiple methods is an error
|
||||
if ( $req->param('client_id') ) {
|
||||
if ( $req->param('client_id') and $req->param('client_secret') ) {
|
||||
$self->logger->error("Multiple client authentication methods used");
|
||||
( $client_id, $client_secret ) = ( undef, undef );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue