(backend) support add-ons authentication in external viewset

Integrate the add-ons authentication backend into the externalviewset.

This allows third-party integrations (e.g. calendar add-ins) to
obtain a JWT for a user and use it to call the API (e.g. create a
room) via a Bearer authorization header.
This commit is contained in:
lebaudantoine
2026-04-29 17:15:55 +02:00
parent 012857f8c6
commit 6f38d60a27
4 changed files with 291 additions and 0 deletions
@@ -175,6 +175,7 @@ class RoomViewSet(
authentication_classes = [
authentication.ApplicationJWTAuthentication,
authentication.AddonsJWTAuthentication,
ResourceServerAuthentication,
]
permission_classes = [