fastapi-auth-middleware
fastapi-auth-middleware copied to clipboard
how can I exclude the swagger /docs path from middleware auth ?
Hi @vikyw89,
We unfortunately didn't document this, thanks for pointing that out. The middleware takes a keyword argument called excluded_urls
that expects a list of strings (relative paths)
Thank you for the information