omab / python-social-auth

Social auth made simple
http://psa.matiasaguirre.net
BSD 3-Clause "New" or "Revised" License
2.83k stars 1.09k forks source link

Issue with redirecting page after login using Facebbok for django site #1106

Open JeevanJB opened 7 years ago

JeevanJB commented 7 years ago

I am using the socialdjango app to use the social authentication for google & facebook. When I log-in through facebook I want the page to redirect to my home.html page of website. But instead its redirecting to -> http://localhost:8000/oauth/complete/facebook/home.html#=_ Using the URLconf defined in naka.urls, Django tried these URL patterns, in this order: ^naka/ ^naka/ ^naka/ ^oauth/ ^login/(?P[^/]+)/$ [name='begin'] ^oauth/ ^complete/(?P[^/]+)/$ [name='complete'] ^oauth/ ^disconnect/(?P[^/]+)/$ [name='disconnect'] ^oauth/ ^disconnect/(?P[^/]+)/(?P\d+)/$ [name='disconnect_individual'] ^admin/ The current path, oauth/complete/facebook/home.html, didn't match any of these How should I go about the proceedings?