The thing is we want to keep information from each server separated. so 
solution 1 is not good for me.
I already use a variant of your option 2 where I grab the user credentials 
on login and use it to query the server.
We have 2 servers, "test" and "prod" and we want to have one app to query 
both.

I kept on searching and I may have a lead, the issue is that 
auth.settings.auth_methods is parsed before the login page is displayed,is 
there a way to parse it when the login page is submitted ?

thanks again for your time/help.
 

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