Giter Site home page Giter Site logo

Comments (5)

jbittel avatar jbittel commented on July 16, 2024

Have you looked at the docs for MAMA_CAS_ATTRIBUTE_CALLBACKS? That is how you specify the dotted path to a callback function, whether one of the examples in callbacks.py or a custom one you've written. When performing a /serviceValidate or /proxyValidate that will return those values in the XML success response.

from django-mama-cas.

d0nezer0 avatar d0nezer0 commented on July 16, 2024

Thanks a lot. I didn't read the docs carefully. I solved it.

And now I log out my website of client A, and I can log out the server website .
How can I log out the other logged in websites?
They have the cookies whit themselves, should I call the logout function for all the logined sites?
And where should I add the code. In server site or the logout button site?

Best regards.

from django-mama-cas.

d0nezer0 avatar d0nezer0 commented on July 16, 2024

I read the code carefully, and I found the logout func deals with just the logout site.
So there is not a logout all sites function?

from django-mama-cas.

jbittel avatar jbittel commented on July 16, 2024

You're correct, CAS doesn't have direct control over those external services. You can use MAMA_CAS_ENABLE_SINGLE_SIGN_OUT to send logout requests to all authenticated services for the specific user. However, note that this only sends the request and it's up to the service to accept the information and actually do something about it. The process of configuring this will depend on each service in question.

from django-mama-cas.

d0nezer0 avatar d0nezer0 commented on July 16, 2024

Thanks a million.

from django-mama-cas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.