[web2py] Re: Embed cas login form

2015-08-31 Thread Jose
El domingo, 30 de agosto de 2015, 23:54:30 (UTC-3), Massimo Di Pierro escribió: > > If they are on the same domain you can do this: > > In App_A add a controller function > > def user_embedded(): return auth() > > In App_B ass a controller > > def login(): > return > dict(form=LOAD('App_A

[web2py] Re: Embed cas login form

2015-08-30 Thread Massimo Di Pierro
If they are on the same domain you can do this: In App_A add a controller function def user_embedded(): return auth() In App_B ass a controller def login(): return dict(form=LOAD('App_A','default','user_embedded/login',ajax=True)) Problem is that you have somehow fix the workflow becaus