When I try to do a POST request to https://localhost:8000/api/login/social/ with form-data provider=twitter, I get the 404 error Not Found: /api/login/social/.
I suspect the problem is because I have not included the correct url for oauth1 (i.e. twitter).
For facebook (which is oauth2), I did this: path('api/login/', include('rest_social_auth.urls_token')), and that is working fine. So can someone tell me what I should include in urls for oauth1?
When I try to do a POST request to
https://localhost:8000/api/login/social/
with form-dataprovider=twitter
, I get the 404 errorNot Found: /api/login/social/
.I suspect the problem is because I have not included the correct url for oauth1 (i.e. twitter).
For facebook (which is oauth2), I did this:
path('api/login/', include('rest_social_auth.urls_token')),
and that is working fine. So can someone tell me what I should include in urls for oauth1?Thanks