Closed snowcrash-arin closed 1 year ago
What is the full stacktrace? If that is the full stacktrace, what is being passed into the reverse call?
The path('oauth2/', include('django_auth_adfs.drf_urls'))
are not meant to replace path('oauth2/', include('django_auth_adfs.urls'))
. They should replace path('api-auth/', include('rest_framework.urls'))
.
Thanks @tim-schilling I misunderstood the instruction. I no longer see the issue after appending the line and removing the rest_framework_urls.
I'm following the instructions here.
https://django-auth-adfs.readthedocs.io/en/latest/rest_framework.html#setup
(Optional) Override the standard Django Rest Framework login pages in your main urls.py:
And I'm getting the following errors on startup.
If I change back to
path('oauth2/', include('django_auth_adfs.urls'))
, no issue.Upvote & Fund