Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

194
Views
La redirección de oauth2 falla en la interfaz de usuario de openapi3.0/swagger

Estoy usando el paquete swagger-ui-express npm. Estoy intentando un flujo implícito desde mi aplicación Express y tengo éxito al realizar la autenticación y la redirección desde auth0 (mi servicio de autenticación)

 only works when i am serving my swagger file at / path example app.use("/",swaggerUI.serve,swaggerUi.setup(swaggerJsDocs)

El problema es que quiero servir mi swaggerUi en la ruta de /api-docs' path and somehow redirection fails on this path. Tried adding swagger options, it redirects to /api-docs` sin ningún código de autenticación.

 swaggerOptions = { aith2RedirectUrl:'https://localhost:400/api-docs' }

ACTUALIZACIÓN: - La interfaz de usuario de Swagger usa oauth2-redirect.html, que está vinculado solo con /, ¿es posible vincularlo o redirigirlo a /api-docs?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!