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.






On Sunday, 30 August 2015 21:28:44 UTC-5, Jose wrote:
>
> Hi,
>
> I have two applications: App_A (cas provider) and App_B (CAS consumer).
>
> App_A and App_B have different layouts and css
>
> In App_A I defined the user function returns the form login using return 
> form [not return a dictionary]
>
> What I want to know if there are ways to embed the form within my App_B.
>
> All this is for the login form looks the same style App_B
>
> José
>

-- 
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.

Reply via email to