[web2py] Re: WEB2PY CAS with basic auth

2018-06-18 Thread Ben Hagen
I have filed an issue for this: https://github.com/web2py/web2py/issues/1938 Maybe someone can point me in the right direction how it could be fixed. Am Mittwoch, 23. Mai 2018 16:19:02 UTC+2 schrieb Ben Hagen: > > Sorry yeah I truncated the URL in this message for privacy. In fact it

[web2py] JOIN in parse_as_rest

2018-05-23 Thread Ben Hagen
Imagine the following table: db.define_table('project', Field('name', required=True), Field('admin_user', 'reference auth_user', default=auth. user_id, required=True), Field('users', 'list:reference auth_user'), migrate=True

[web2py] Re: WEB2PY CAS with basic auth

2018-05-23 Thread Ben Hagen
Sorry yeah I truncated the URL in this message for privacy. In fact it does look like this auth = Auth(db, cas_provider='https:/example.com/central/default/user/cas') auth.settings.allow_basic_login = True @auth.requires_login() def default(): return dict() CAS is working as expected. The

[web2py] Re: Restful api token based authentication login to CAS

2018-05-22 Thread Ben Hagen
Hi, did you ever find a solution to this? Unfortunately just setting `auth.settings.allow_basic_login = True` on the 2nd application does not work. Am Donnerstag, 19. Oktober 2017 06:58:43 UTC+2 schrieb Sharjeel Ali Shaukat: > > Currently i have two applications. 1st application is using as a

[web2py] Re: WEB2PY CAS with basic auth

2018-05-22 Thread Ben Hagen
I am having the same issue here on version 2.16.1. Basic example would be auth = Auth(db, cas_provider='/central/default/user/cas') auth.settings.allow_basic_login = True @auth.requires_login() def default(): return dict() @massimo did you create a bug? Can't find it on github. Am Dienstag,