Missing openid scope should be an explicit error
This commit is contained in:
parent
25403e373c
commit
8cc84d9461
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user