jbittel / django-mama-cas

A Django Central Authentication Service (CAS) single sign-on server
BSD 3-Clause "New" or "Revised" License
395 stars 112 forks source link

/cas/validate returns no #100

Closed behconsci closed 4 years ago

behconsci commented 4 years ago

may be dumb question, but my tickets are always invalid ("no"), if I validate it right after getting in the client app:

myapp.com ---> sso.mydomain.com?service=myapp.com ---> myapp.com?ticket=ST-LALA. In this step 3, I try to validate at /cas/validate/?service=myapp.com&ticket=ST-LALA. Then if ticket is valid, then I save it to localstorage. This is my plan.

but validation gives me always "no" and I see in sso backend, the ticket is consumed right away. am I doing something wrong in this flow?