Have you tried this: http://web2py.com/books/default/chapter/29/09/access-control#Central-Authentication-Service
Anthony On Friday, December 5, 2014 1:45:17 PM UTC-5, Carlos Correia wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > Please, consider this use case scenario: > > - - A web2py server with several apps: 'master', 'app_a', 'app_b', > 'app_c', ... > - - Each user may have access to more then one app > > Ideally (?) users should authenticate in 'master' and then choose one of > the > apps they have access to which would use 'master' database for user > authentication. > > Example: > > User 'alice' has access to 'app_a' and 'app_c'. > After login, she is prompted with a list of apps she has access to (a + > c). > She chooses 'app_c' and is redirected to app without the need to login > (again) > in the app. > > Is there any way to avoid the (second) login in the targeted app? > > I know I could use a different database for Auth(), but don't know if it's > even > possible to avoid the last login. > > Thanks, > - -- > > Carlos Correia > ========================= > MEMÓRIA PERSISTENTE > Tel.: 219 291 591 - GSM: 917 157 146 / 967 511 762 > e-mail: [email protected] - URL: > http://www.memoriapersistente.pt > Jabber: [email protected] > GnuPG: wwwkeys.eu.pgp.net (NOVA) > URL Suporte: https://t5.m16e.com/gps > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > > iQIcBAEBAgAGBQJUgf0fAAoJEMmo8B8WFGV2yqYP/0sUEuZ7Nh/rk+Mj7By5hFaG > U0efQ6sr/CPdw1B44AQlhhY3uIxv83cum9C8SGLg8zEBBodSCtPo/ryGaFh6j0hE > ENPSMX6qOXc4fRwsK0G5uAVAsL8DeIKCE3JMxnR3LPbnpjOF4CSsh1pwW+q8Ftk4 > nSgyGG4z438ZL9W2pXRQ1XHTfsDmj4i/R1v7mbH/COQ+w+XSqawRljcw8/0eeile > d/qo86g1vrSRP74Pvh+dlhNanpfxT/WxNu7s9jg9W8aLxceczmVkaTaw+l89GlZd > L1azOxErhLC+1LTcBsLUiIhlUVoLB+KNJhAhGOx7p+i3Sm5k5CGV7sOV3pGyw/OE > XeVtYY0skUCsWCvLg9zwKxwRHXzOMr0Leyt8y6ee1S++kji/2ULP5WDLd+oeVr4J > 48wpp5LgSJt5Y1CgYttZ3p8NuZhB+fYEyDhtjcLGxSP9jG1+Ul5277Nu8ImDIilZ > IVT4EAif8bVPuJXHqO/DvkIOodUTg7Cz3YWeG6GDENhgM+8sA0LUKx86zyAfWir+ > czE/bfNMIPvNYFpbO6MAmlSVD/VWQ8gQrljtqdJCsMdwzDvLjlz+80nr1L8PkUPp > PBkRvLgx6BRic2+7XJSj6QCV+aaP2tq784aJDdiJF0XPze237NF2LeWGkykN6L4p > IpNCcH6NxfOS2vu6R8Vk > =o0BX > -----END PGP SIGNATURE----- > -- 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.

