I think what you want should be an option of CAS (not implemented). You can 
implement it yourself with, for example:

import requests
auth.settings.logout_onlogout = lambda user: raise 
HTTP(auth.settings.cas_provider+'/logout')

On Sunday, 2 September 2018 21:46:31 UTC-7, fiubarc wrote:
>
> Hello! Thank you for your answer, now I understand. 
>
> I want, for example, that like google, when I log in to an application I do 
> not need to start it in the rest, 
> and when I close it, I can not enter the rest of the applications until I 
> start it again.
>
> Then in web2py I should share the session with any of the mechanisms 
> explained in the book, 
> sharing the folder in the network or in the database ... Am I right? 
>
> Would CAS in this case be helpful or would it not be necessary?
>
> Thanks!
>
>
>
> El domingo, 2 de septiembre de 2018, 14:59:22 (UTC-3), Massimo Di Pierro 
> escribió:
>>
>> I think this is a feature, not a bug, as each app has the its own 
>> session. But I see why you would want a different behavior.
>> Problem is, as implemented, provider has no info about consumer apps.
>>
>> On Wednesday, 1 August 2018 13:00:05 UTC-7, fiubarc wrote:
>>>
>>> Hello, I am wanting to implement CAS, but during the tests, when I close 
>>> session in the "provider" application it does not close the session in the 
>>> rest of the "consumers" applications. 
>>>
>>> I have several applications distributed on several servers and the CAS 
>>> application on a separate server. They all share the same user storage.
>>>
>>> The question is if I lack some configuration. I tried sharing the session 
>>> in the database, but I do not know what else to try.
>>>
>>> Any help would be appreciated!
>>>
>>>

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