You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use JWT authentication through the /authentication path, but I am missing a possibility to easily create the JWT through Swagger. It is only possible to authenticate in swagger with an already retrieved JWT.
Expected behavior
I would like to have an /authorization POST call to be used like all the other services.
Or directly allow to generate the token within the authorization dialog of swagger.
Actual behavior
Only normal services are shown with their methods, not the authentication service.
This is not directly related to feathers-swagger. But as I was also interested in this feature I wrote a plugin for Swagger UI to add the possiblity to create the bearer (jwt) token using a callback. In this callback you can call the authenticate endpoint.
I added it to the security example for openapi v3, but this should also work for swagger v2.
Steps to reproduce
I use JWT authentication through the /authentication path, but I am missing a possibility to easily create the JWT through Swagger. It is only possible to authenticate in swagger with an already retrieved JWT.
Expected behavior
I would like to have an /authorization POST call to be used like all the other services.
Or directly allow to generate the token within the authorization dialog of swagger.
Actual behavior
Only normal services are shown with their methods, not the authentication service.
System configuration
My config looks like:
I am using:
The text was updated successfully, but these errors were encountered: