Integration with CAS SSO

Discussion forum about Anuko Time Tracker
Post Reply
utrx
Posts: 4
Joined: Thu Mar 29, 2018 2:51 am

Integration with CAS SSO

Post by utrx » Tue Apr 03, 2018 8:40 pm

So I moved away from using LDAP into integrating CAS SSO for authentication, and need some tips or suggestions.

I am using phpCAS and have everything setup CAS side. I am able to return the username in a variable successfully to any page that calls it.

The normal login.php performs a dologin that runs class Auth.class which runs either Auth_db or Auth_ldap depending on the config. It then builds a $user construct

Beyond that, am not very familiar with the code, so maybe someone who is, can help me shed some light.

How can i convince TT to take the username CAS returned, and continue like it was returned from the normal authentication mechanism?

utrx
Posts: 4
Joined: Thu Mar 29, 2018 2:51 am

Re: Integration with CAS SSO

Post by utrx » Wed Apr 04, 2018 2:43 am

Nevermind. I was able to sort it out, by evoking the method setAuth from Auth.class

Post Reply