Add support for REST endpoints using Django REST Framework. Permission checking should be based on OAuth 2.0 access tokens. See https://django-oidc-provider.readthedocs.io/en/latest/sections/oauth2.html#protecting-views.