2022-04-04 15:00:02 +01:00
|
|
|
Oauthlib vs Authlib
|
2022-05-05 12:52:09 +10:00
|
|
|
===================
|
2022-04-04 15:00:02 +01:00
|
|
|
|
|
|
|
Resources
|
|
|
|
---------
|
|
|
|
|
2023-11-16 08:02:56 +10:00
|
|
|
- Oauthlib: https://oauthlib.readthedocs.io/en/latest/
|
|
|
|
- Authlib: https://docs.authlib.org/en/latest/
|
2022-04-04 15:00:02 +01:00
|
|
|
|
|
|
|
Discussion
|
2022-05-05 12:52:09 +10:00
|
|
|
----------
|
2022-04-04 15:00:02 +01:00
|
|
|
|
2023-11-16 08:02:56 +10:00
|
|
|
Which library should be used to replace the currently used and deprecated oauth2client.
|
|
|
|
The two main contenders are Oauthlib and Authlib.
|
2022-04-04 15:00:02 +01:00
|
|
|
|
2023-11-16 08:02:56 +10:00
|
|
|
Authlib is the more popular of the two choices as seen in this `graph
|
|
|
|
<https://python.libhunt.com/compare-authlib-vs-oauthlib>`_. For flask the oauthlib
|
|
|
|
developers themselves recommend using authilib
|
|
|
|
https://github.com/lepture/flask-oauthlib#readme
|
2022-04-04 15:00:02 +01:00
|
|
|
|
|
|
|
Conclusion
|
2022-05-05 12:52:09 +10:00
|
|
|
----------
|
2023-11-16 08:02:56 +10:00
|
|
|
|
|
|
|
Authlib seems to be the best candidate for this initiative. There is knowledge in the
|
|
|
|
team of the library as it was used in bodhi. It also appears to have an easier to
|
|
|
|
implement and has a flask integration and is recommended for use by the developer.
|