Hi guys,
I'm having trouble getting the example code that is posted in the overview document for django-cas to work. Here is my relevant code:
cas_backend.py:
from django_cas.backends import CASBackend
class PopulatedCASBackend(CASBackend):
def authenticate(self, ticket, service):
user = super(PopulatedCASBackend, self).authenticate(ticket, service)
print("hello world!")
return user
settings.py:
...
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
#'django_cas.backends.CASBackend',
'mail_site.cas_backend.PopulatedCASBackend',
)
...
When I run my website and try to log in to the cas server, I get a 403 error after entering my username/password and clicking log in. Why would this be happening?
Jared