Hi, i think that a "login_user" method in AuthApi meets your reqests.
четверг, 17 октября 2019 г., 13:33:43 UTC+5 пользователь Davidiam написал: > > Hello, > > We pre-authenticate users outside of web2py via SAML and the user lands on > a page where he can choose from a list of applications. > When the user selects an application, he needs to be set as "logged in" > for that web2py application as long as there his userid exists in the auth > table (no password).. > > I do not see any login method that allows us to just say : "set this user > as logged in". > > The closest I see is the "login_bare" function, but that expects a > password and these users do not have a password entry in the auth table. > > Any ideas on the best way to handle this scenario ? > > Note : I would really like to avoid using the SAML login modules as these > are an uphill battle on Windows IIS and we already have a working > authentication for the users via Shibboleth SP. > > Kind Regards, > David > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/21a0a3d0-098d-4ec9-bc37-a1047d4fc7ac%40googlegroups.com.

