imho 2.7.10 and its certificate validation done by default is messing the consumer app. But you wouldn't absolutely be able to log in the consumer app...
On Tuesday, February 16, 2016 at 3:31:05 PM UTC+1, Frank Bunt wrote: > > I'm trying to get CAS auth working with "https://.." but it is giving me > problems. Below is my setup > > 1. Environment is ArchLinux (Banana M2) + RocketServer + Web2py: > Web2Py 2.13.4, Rocket 1.2.6, Python 2.7.10 > All databases running on SQLite, default app path. > > 2. I have one web2py app that acts as a CAS provider: > db.py with auth = Auth(db) und auth.define_tables(username=True, > signature=False) > default.py with def user(): return dict(form=auth()) > > 3. I have another consumer web2py app that uses the CAS-web2py app as CAS > provider for authentication. > db.py with auth=Auth(db,cas_provider='https://.../default/user_cas/cas'), > auth.define_tables(username=True, signature=False) > > 4. The Web2py-Framework is started using OpenSSL-Certificates > 'python2 web2py -a 'password' -c server.crt -k server.key -i 0.0.0.0 -p > 443' > > > Problem: > 1. When I use the login in the CAS-application I can manage the users > (login an add new user) > 2. When I use the consumer application I can login using the CAS-provider > application, but the user is not added in the table db.auth_user of the > consumer application. > So if I write a dataset in an table with the 'auth_signature'-field there > is the 'IntegrityError: FOREIGN KEY contraint failed' > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.