[web2py] Using CAS for non web2py apps

2015-02-26 Thread Kenneth
Hello, I'm trying to get an Drupal with the Drupal CAS module to authenticate against an web2py app. When I test to go with browser to the user/cas/login adress on my site I get the following message: not authorized Can anyone explain how to get this working? How do I return some user parame

[web2py] using CAS

2014-01-16 Thread Robert Bjornson
Hi, I'm trying to use our university CAS server as the authentication for my web2py app. I am able to direct logins to CAS fine, by using this code in my model file: auth=Auth(db, cas_provider='https://securedev.its.yale.edu/cas') After completing the cas login, when I look at db.auth_user ta

[web2py] Using CAS and @auth.requires_login() decorator

2010-11-08 Thread demetrio
Hi, i'm trying to use CAS in my project, I can login and logout etc... but if I use any decorator like @auth.requires_login() it shows the web2py default login form. There is any way to use the auth decorators with cas? I've search in this group messages but i didn't find something useful for my