Im looking into setting up single sign on for a django website. My search brought me to django-mama-cas and django-cas-ng but Im not sure whether I can or should use them separately or together.
The mandatory CAS_SERVER_URL setting for django-cas-ng also confuses me because it gives me the impression that I might need a third party service to get django-cas-ng to work.
https://github.com/jbittel/django-mama-cas, https://github.com/mingchen/django-cas-ng
They work together, but not in the same Django project. On one hand, you have to create a Django project and install django-mama-cas. Let's say you already installed it and it lives in cas-server.example.com.
On the other hand, if you have another django project living in foobar.example.com, then you have to modify that project installing and configuring django-cas-ng. Here is where you have to set CAS_SERVER_URL = "cas-server.example.com"
.
So, foobar.example.com is the client, cas-server.example.com is the server.
Then, if you have another Django project, let's say other-project.example.com, you can also install django-cas-ng
here two and use the Single Sing On for singing in on both projects.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With