Giter VIP home page Giter VIP logo

Comments (4)

tgpatel avatar tgpatel commented on June 22, 2024 1

jbittel thanks for your time and pointing me how to debug. As per your suggestions I enabled the debugging and observed nothing was wrong on mama-cas side. Well then I looked at the sessionid cookie present in the browser as per your suggestion and I saw that the sessionid was getting override. so the root of the problem was me running all 3 on same domain and different ports. Hence the sessionId was getting override.
Thanks for your time and input. Marking the issue as resolved.

from django-mama-cas.

tgpatel avatar tgpatel commented on June 22, 2024

sorry for the trouble but the issue wasn't related to mama-cas.

from django-mama-cas.

tgpatel avatar tgpatel commented on June 22, 2024

Reopening the issue as the issue still persists.

I observed that once service 1 redirects to CAS server. The CAS server prompts for username/password if user is not logged into CAS server. But once the user returns to Service 1 and the Service 1 validates the ticket by calling the proxyValidate somehow the user gets logged out on CAS Server and hence when the user try to access Service 2 user is prompted for username/password. I think this is not the intended outcome. Please let me know if this not the bug or you require more clarification

from django-mama-cas.

jbittel avatar jbittel commented on June 22, 2024

You're correct, that should not be the intended outcome. Service 2 should not prompt again for credentials once logged in. However, I'm not sure what would cause the user to be logged out.

If you enable debug logging on MamaCAS, what does it log during that sequence of events? That might help reveal if this is an issue at the CAS level. Also, check what is happening to the Django session itself. Is there an active session after logging into service 1? Is it still active when accessing service 2? Is the Django sessionid cookie present in the browser during the entire process?

It might also be useful to know what CAS clients you're using for the two services.

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.