What I want to do is automatically generate a JWT token when a user log in with their Username and Password. Based on my current research, swagger does not support this functionality natively (see How to use UserName and Password in Swagger to generate Bearer Token for .NET Web API), so it seems that the only way to do this is by customizing the authorize button in the page.
I was wondering if this is possible using flask-restplus. If so, how do I force flask-restplus to point to use the custom swagger-page? Thanks!