We're enabling SAML SSO login over a rest framework, so I set USE_JWT to True.
That's well and good. However, if I want to access the Django Admin, which will also be with SAML login to the same IDP, we do not want to use JWT. So it should ignore that case.
There should be an option to designate routes that will and will not use JWT. I'd like to hear of any workarounds that won't require me to patch views.py.
We're enabling SAML SSO login over a rest framework, so I set USE_JWT to True.
That's well and good. However, if I want to access the Django Admin, which will also be with SAML login to the same IDP, we do not want to use JWT. So it should ignore that case.
There should be an option to designate routes that will and will not use JWT. I'd like to hear of any workarounds that won't require me to patch
views.py
.