Hi there,
you have to put the absolute url for CAS_SERVER_URL

try CAS_SERVER_URL=http://login.oregonstate.edu-dev/login (or https)

Regards,
Esau Rodriguez.


On Wed, Feb 19, 2014 at 6:04 PM, wasingej <wasin...@onid.oregonstate.edu> wrote:
> Hello.
>
> I am trying to put together a little test application which allows a user to
> log in to a CAS server and then redirects them back to the site after they
> have logged in.  I have followed the instructions on this page:
> https://bitbucket.org/cpcc/django-cas/overview.
>
> The URL for my server is: login.oregonstate.edu-dev/login
>
> However, when I try to access http://127.0.0.1:8000/accounts/login, I get
> redirected to:
> http://127.0.0.1:8000/accounts/login/login.oregonstate.edu-dev/login?service=http%3A%2F%2F127.0.0.1%3A8000%2Faccounts%2Flogin%2F%3Fnext%3D%252F
>
> Can anybody point me in the right direction as to what's going on here?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/44bfea1a-0a45-44bd-acaf-63a8f717d53a%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



-- 
Esaú Rodríguez
esa...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB4Jw77Ke0z5DVCMGR8pzJ91Xzsrjb-xu4KdXGVvwz_gaVAHWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to