Hello,
The example code for verifyScope is declaring a variable authorizedScopes that is not used and also uses a variable scope that is not declared.
function verifyScope(token, requestedScopes) {
if (!token.scope) {
return false;
}
let authorizedScopes = token.scope;
return requestedScopes.every(s => token.scope.includes(scope));
}