Missing openid scope should be an explicit error

This commit is contained in:
Maxime Besson 2022-01-21 15:18:46 +01:00
parent 25403e373c
commit 8cc84d9461

View File

@ -388,10 +388,10 @@ sub run {
# Check openid scope
unless ( $self->_hasScope( 'openid', $oidc_request->{'scope'} ) ) {
$self->logger->debug("No openid scope found");
$self->logger->error("No openid scope found");
#TODO manage standard OAuth request
return PE_OK;
return PE_ERROR;
}
# Check Request JWT signature