Refactor authentication system
We currently have two similar dependencies:
dj-rest-auth
django-oauth-toolkit
They both rely on django-allauth
, but seem to have different approaches and we should focus on one dependency instead of mixing both together.
In order to do this we need to have some specification about what is currently supported.
For OAuth, we do have some documentation: https://docs.funkwhale.audio/developer/api/authentication.html
@wvffle Can you shortly summarize how the Funkwhale uses Authentication? IIRC its something Session based?