argilla-io / argilla

Argilla is a collaboration tool for AI engineers and domain experts to build high-quality datasets
https://docs.argilla.io
Apache License 2.0
4k stars 378 forks source link

[REFACTOR][ENHANCEMENT] `argilla server`: better OAuth2 integration #5689

Open frascuchon opened 1 week ago

frascuchon commented 1 week ago

Description

This PR improves the social_core integration, making setup backends simpler.

Improvements:

Type of change

How Has This Been Tested

Checklist

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 89.51613% with 13 lines in your changes missing coverage. Please review.

Project coverage is 91.82%. Comparing base (f346a84) to head (0bea71e). Report is 38 commits behind head on develop.

Files with missing lines Patch % Lines
..._server/security/authentication/oauth2/provider.py 71.87% 9 Missing :warning:
...ver/security/authentication/oauth2/auth_backend.py 0.00% 2 Missing :warning:
...server/security/authentication/oauth2/_backends.py 97.22% 1 Missing :warning:
...illa-server/src/argilla_server/validators/users.py 95.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #5689 +/- ## =========================================== + Coverage 91.08% 91.82% +0.73% =========================================== Files 150 159 +9 Lines 6250 6738 +488 =========================================== + Hits 5693 6187 +494 + Misses 557 551 -6 ``` | [Flag](https://app.codecov.io/gh/argilla-io/argilla/pull/5689/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=argilla-io) | Coverage Δ | | |---|---|---| | [argilla-server](https://app.codecov.io/gh/argilla-io/argilla/pull/5689/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=argilla-io) | `91.82% <89.51%> (+0.73%)` | :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=argilla-io#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.


🚨 Try these New Features:

github-actions[bot] commented 2 days ago

The URL of the deployed environment for this PR is https://argilla-quickstart-pr-5689-ki24f765kq-no.a.run.app