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','default','user_embedded/login',ajax=True))
>
> Problem is that you have somehow fix the workflow because App_B will not
> redirect to your own login function. But I do not know how you want this to
> work.
> Perhaps you can experiment and find a way.
>
That's what I thought about doing, but do not know how to force the use login
() function App_B, once defined the Auth as CAS.
Perhaps something like:
auth.settings.login_form = URL(...)
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.