from django.conf.urls import url
from django.contrib import admin

from sso import views

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^$', views.main, name='main'),
    url(r'^signin$', views.signin, name='signin'),
    url(r'^signout$', views.signout, name='signout'),
    url(r'^signup$', views.signup, name='signup'),
    url(r'^verify$', views.verify, name='verify'),
    url(r'^welcome$', views.welcome, name='welcome'),
]

from django.conf.urls import url
from django.contrib import admin

from sso import views

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^$', views.main, name='main'),
    url(r'^signin$', views.signin, name='signin'),
    url(r'^signout$', views.signout, name='signout'),
    url(r'^signup$', views.signup, name='signup'),
    url(r'^verify$', views.verify, name='verify'),
    url(r'^welcome$', views.welcome, name='welcome'),
    url(r'^callback/github$', views.auth_with_github, name='auth with github'),
]

Add url mapping for github callback
Add url mapping for github callback

  from django.conf.urls import url
  from django.contrib import admin
  
  from sso import views
  
  urlpatterns = [
      url(r'^admin/', admin.site.urls),
      url(r'^$', views.main, name='main'),
      url(r'^signin$', views.signin, name='signin'),
      url(r'^signout$', views.signout, name='signout'),
      url(r'^signup$', views.signup, name='signup'),
      url(r'^verify$', views.verify, name='verify'),
      url(r'^welcome$', views.welcome, name='welcome'),
+     url(r'^callback/github$', views.auth_with_github, name='auth with github'),
  ]
  
Add url mapping for github callback
## Code Before:
from django.conf.urls import url
from django.contrib import admin

from sso import views

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^$', views.main, name='main'),
    url(r'^signin$', views.signin, name='signin'),
    url(r'^signout$', views.signout, name='signout'),
    url(r'^signup$', views.signup, name='signup'),
    url(r'^verify$', views.verify, name='verify'),
    url(r'^welcome$', views.welcome, name='welcome'),
]

## Instruction:
Add url mapping for github callback
## Code After:
from django.conf.urls import url
from django.contrib import admin

from sso import views

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^$', views.main, name='main'),
    url(r'^signin$', views.signin, name='signin'),
    url(r'^signout$', views.signout, name='signout'),
    url(r'^signup$', views.signup, name='signup'),
    url(r'^verify$', views.verify, name='verify'),
    url(r'^welcome$', views.welcome, name='welcome'),
    url(r'^callback/github$', views.auth_with_github, name='auth with github'),
]
