Closed koeaw closed 6 months ago
The login and logout views are part of the DRF. They work fine in our setup.
The login and logout views are part of the DRF. They work fine in our setup.
Thx. "Our" as in ÖBL?
The login and logout views are part of the DRF. They work fine in our setup.
Thx. "Our" as in ÖBL?
No, in sicprod
Hmm, this seems to have resolved itself, dunno why or how, possibly related to changes between v0.15.x and v0.17.3 (!?), but either way: both login and logout work fine now.
I can't seem to log out from any API views/routes, i.e. the Django REST framework menu bar. When I click on the username in the top right corner:
nothing happens. I'd expect to be presented with an option to log out equivalent to how it works on the regular, non-API menu bar.
Logging in when not already logged in, however, works fine. A click on "Log in" in the top right corner:
redirects to this login mask (at
api-auth/login/?next=/apis/api/
):Not sure if this is a problem with project-specific
urls.py
missing paths, missing redirects in API-related views, DRF JS/CSS, or other frontend settings clashing with DRF's (e.g. we haveDJANGO_TABLES2_TEMPLATE = "django_tables2/bootstrap5-responsive.html"
set in settings). No time to investigate right now, but wanted to report it in any case.