I have tried to set up social authentication for steam login button. I have followed all these steps, and added steam necessary stuff: adding API key to settings and steam.SteamOpenId
to authentication backends.
The error:
Using the URLconf defined in Test.urls, Django tried these URL patterns, in this order: ^ ^$ [name='index'] ^login/(?P<backend>[^/]+)/$ [name='begin'] ^complete/(?P<backend>[^/]+)/$ [name='complete'] ^disconnect/(?P<backend>[^/]+)/$ [name='disconnect'] ^disconnect/(?P<backend>[^/]+)/(?P<association_id>[^/]+)/$ [name='disconnect_individual'] ^admin/
Hyperlink i used to make login button:
<a href="/login/steam?next=/">Login</a>
urls.py
file of project:
from django.conf.urls import include, url
from django.contrib import admin
urlpatterns = [
url(r'^', include('Home.urls')),
url('', include('social.apps.django_app.urls', namespace='social')),
url(r'^admin/', admin.site.urls),
]
urls.py
file of application Home
:
from django.conf.urls import url
from . import views
app_name = 'Home'
urlpatterns = [
url(r'^$', views.index, name='index'),
]
I am wondering if there is still something that i need to set up, do i need to add views to url patterns? If so, then which? where is social authentication urls file located?