Welcome Guest, Not a member yet? Register   Sign In
CAS Authentication in CI3
#1

Hello,

I need a CAS (https://en.wikipedia.org/wiki/Central_Au...on_Service) authentication library for CI3. In CI2 we successfully use the phpCAS and this library:

https://github.com/eliasdorneles/code-ig...as-library

But it no longer works in CI3 due to how the sessions work in CI3.

Using CAS is mandatory, we cannot use any other auth library such as Ion, etc. Anybody here successfully using CAS single sign-on with CI3 framework?

Thanks.
Reply
#2

Taking a look at that CI2 library, it appears that it doesn't have anything to do with sessions. It's only a simple PHP class, and it interacts with phpCAS. It sounds like phpCAS itself may not be compatible with CodeIgniter 3. Taking a look at the phpCAS repository on Github, it looks like really old and unmaintained code. It definitely attempts to configure and/or use PHP sessions. If it was me, I'd head over to packagist.org. There are a few CAS packages in the search results, and you could probably cobble something together based on what's over there.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB