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
|
|
|
|
---------
|
|
|
|
|
|
|
|
* Oauthlib: https://oauthlib.readthedocs.io/en/latest/
|
|
|
|
* Authlib: https://docs.authlib.org/en/latest/
|
|
|
|
|
|
|
|
|
|
|
|
Discussion
|
2022-05-05 12:52:09 +10:00
|
|
|
----------
|
2022-04-04 15:00:02 +01:00
|
|
|
Which library should be used to replace the currently used and deprecated
|
|
|
|
oauth2client. The two main contenders are Oauthlib and Authlib.
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
Conclusion
|
2022-05-05 12:52:09 +10:00
|
|
|
----------
|
2022-04-04 15:00:02 +01: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.
|