pysnippet / fastapi-oauth2

Easy to integrate OAuth2 authentication with support for several identity providers.
https://docs.pysnippet.org/fastapi-oauth2
MIT License
49 stars 7 forks source link

Feature/guard against basic authentication #34

Closed maparent closed 4 months ago

maparent commented 4 months ago

Motivation:

Issue #33

All Submissions:

Note: CONTRIBUTING.md seems to be missing? I did not see a relevant PR.

Changes to Core Features:

The explanation is in the issue; I have run tests locally and did not break them. I have not provided new tests.

ArtyomVancyan commented 4 months ago

About the CONTRIBUTING.md, it is typical for all PySnippet organization projects. Also, some of the tests are failed:

tests/test_backends.py ..                                                [  7%]
tests/test_claims.py ....                                                [ 21%]
tests/test_middleware.py FFFF                                            [ 35%]
tests/test_oauth2.py FF.FF.                                              [ 57%]
tests/test_router.py ......                                              [ 78%]
tests/test_security.py ......                                            [100%]