Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

192
Vistas
passport-azure-ad AzureAD: Bearer Strategy, validation of token

I have implemented SPA and express.js WEB Api applications, SPA authenticates using msal.js V2 and acquires access_token including roles: [], and spc: [] containing correct roles and scopes.

WEB Api is called using access_token received, it gets decoded at API side using passport-azure-ad library initialised using BearerStrategy. It extracts information from the token, but finally throws error: authentication failed due to: In Strategy.prototype.jwtVerify: none of the scopes 'Execute.Api' in token is accepted, where Execute.Api is my custom scope.

Would be great if someone help me to resolve this issue, project is at critical stage because of this.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda