I have been struggling to implement facebook authentication with socialauth on a Django project. I keep getting this error:
NoReverseMatch at /mysite/test
Reverse for 'socialauth_begin' with arguments '(u'facebook',)' and keyword arguments '{}' not found.
Request Method: GET
Request URL: http://127.0.0.1:8000/mysite/test
Django Version: 1.5.1
Exception Type: NoReverseMatch
Exception Value:
Reverse for 'socialauth_begin' with arguments '(u'facebook',)' and keyword arguments '{}' not found.
I believe I have configured socialauth correctly (this guide helped), but I do not know where the error could be coming from.
This line in my template test.html is giving me issues:
<a href="{% url 'socialauth_begin' 'facebook' %}">Login with Facebook</a>
I have looked many places online and could not find a reasonable solution.