PnX-SI / UsersHub-authentification-module

Module Flask d'authentification de UsersHub
GNU General Public License v3.0
5 stars 12 forks source link

Feat/custom authentification #93

Open jacquesfize opened 3 months ago

jacquesfize commented 3 months ago

In https://github.com/PnX-SI/GeoNature/pull/2976, we propose to enable the customization of the login process to use custom login providers (CAS for instance). This PR includes the required changes of UsersHub-authentification-module to make it work.

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 67.85714% with 27 lines in your changes missing coverage. Please review.

Project coverage is 52.84%. Comparing base (975a3eb) to head (e4c22a8). Report is 10 commits behind head on develop.

:exclamation: Current head e4c22a8 differs from pull request most recent head 4a0144a

Please upload reports for the commit 4a0144a to get more accurate results.

Files Patch % Lines
src/pypnusershub/authentification.py 69.38% 15 Missing :warning:
src/pypnusershub/routes.py 65.71% 12 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #93 +/- ## =========================================== + Coverage 51.79% 52.84% +1.05% =========================================== Files 14 15 +1 Lines 726 774 +48 =========================================== + Hits 376 409 +33 - Misses 350 365 +15 ``` | [Flag](https://app.codecov.io/gh/PnX-SI/UsersHub-authentification-module/pull/93/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PnX-SI) | Coverage Δ | | |---|---|---| | [pytest](https://app.codecov.io/gh/PnX-SI/UsersHub-authentification-module/pull/93/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PnX-SI) | `52.84% <67.85%> (+1.05%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PnX-SI#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.