jbittel / django-mama-cas

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

Customizing the authentication backend #52

Open kinnarysrv opened 6 years ago

kinnarysrv commented 6 years ago

Hi folks,

I m trying to implement SSO functionality for my huge application. i m using django-cas-ng and django-mama-cas on my sso-agent and sso-server respectively.

now, my application does not use the default Auth-User Table for verification. We have separate app with the separate User Table.

I want to know how to customize in a way that default authentication User table does not get used. Instead I want to use a different function. Also, i M not using any AUTHENTICATION BACKEND . (and i m not planning to use one). By default mama-cas uses its default AUTHENTICATION BACKEND. Also I went through the Mama-cas code. It uses LoginForm. So I dont want to use that also.

Kindly help me out.

manelclos commented 6 years ago

How are you authenticating the user? Remote-user header?

manelclos commented 6 years ago

@kinnarysrv ping