Problem Insufficient scope with node Js and lib express-authz

Hello friends, I have a problem when checking the permissions in node js, the issue is that I have everything configured correctly and I cannot enter the “permissions” nesting, however, I do have access to the scopes, but if I try to enter the permissions section i cant

PD: application type SPA

User.ts (router)
const jwtAuthz = require(‘express-jwt-authz’);

userRouter.get(${prefix}/list, jwtAuthz([“read:messages”], { customScopeKey: “permissions” }), (req: Request, res: Response)=>{

I also leave the code snippet where I validate the token in case it was of any use, even though the validation of the token is correct

const express = require(‘express’);
const { auth } = require(‘express-oauth2-jwt-bearer’);

export const checkJwt = auth({
audience: 'https://mi-audiencie-com,

Images configuratión Api panel Auth0


Information token