2620-ppolicy-binding
Maxime Besson 4 years ago
parent e10d1e291c
commit bb95e681e6
  1. 4
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/OpenIDConnect.pm

@ -1378,9 +1378,9 @@ sub getEndPointAuthenticationCredentials {
$self->logger->error("Bad authentication header: $@") if ($@); $self->logger->error("Bad authentication header: $@") if ($@);
# Using multiple methods is an error # Using multiple methods is an error
if ($req->param('client_id')) { if ( $req->param('client_id') ) {
$self->logger->error("Multiple client authentication methods used"); $self->logger->error("Multiple client authentication methods used");
( $client_id, $client_secret ) = (undef, undef); ( $client_id, $client_secret ) = ( undef, undef );
} }
} }
elsif ( $req->param('client_id') and $req->param('client_secret') ) { elsif ( $req->param('client_id') and $req->param('client_secret') ) {

Loading…
Cancel
Save