PHPackages                             iu-vpcm/cas2 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. iu-vpcm/cas2

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

iu-vpcm/cas2
============

a lib for IU Login via CAS 2.0

v1.0.2(3y ago)030GPL-3.0-onlyPHP

Since May 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/zhuqiwen/IuCasAuthentication-2022)[ Packagist](https://packagist.org/packages/iu-vpcm/cas2)[ RSS](/packages/iu-vpcm-cas2/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

IULoginCAS2
===========

[](#iulogincas2)

First, credits go to [Tom Gregory](https://kelley.iu.edu/faculty-research/faculty-directory/profile.html?id=TOMGREG) (@tomgreg) and [Lee Hadley](https://studios.iu.edu/about/people/hadley-lee.html) (@leehadle). This lib is based on their work.

Implementing a script with [IU Login 2.0 with CAS](https://kb.iu.edu/d/bfpq) is not hard. Hopefully this lib will make it even easier.

Note that this lib only authenticate if user has a valid iu credential. It DOES NOT come with any authorization, or permission, feature.

For your app to have finer granularity for access control, consider implementing a role-based access control system.

**Tom Gregory's original repo** for previous CAS login:

**Lee Hadley's work** of a working script for current CAS login:

```
