RubenM55
2 years agoOccasional Contributor
V3.0 Authenticate with user and password and bearer
I'm trying to authenticate using user and password but I have two problems:
1. I need to change the name of fields "Username" and "Password" for "email" and "pw".
2. When I see the curl, it is sending:
-H 'Authorization: Basic cnViZW4ubWFnYW5
and I need to see
-H 'Authorization: Bearer cnViZW4ubWFnYW5
but if I change the securityScheme definition from basic to bearer, it requires me the token and no user and password.