Closed rmlopes closed 5 years ago
Thanks @DavidZisky, I was postponing black because it is only available for Python 3.6+ and I am running debian that is shipped with 3.5 and it is a bit delayed, even in the backports, but I have surrendered :). The build still fails, but the tests run clean on my system with 3.7.
rebased and merged. thanks.
the generator don't know what is the real server url, maybe you deploy nginx with ssl cert before eve
you can use SWAGGER_HOST to set real url if you use https, instead of change default scheme
feel free to submit a PR
i don't hava a project use oauth2, maybe @rmlopes can help to fix this
Fix OAuth2. As per the example
BearerAuth
extendsBasicAuth
, as such rather than usingapp.auth
class type, we first check for sentinel config vars than proceed with the remaining auth types. HTTPS scheme must be used with OAuth2 as such I also re-added_get_scheme
which was removed in the last merges.