Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicwaller/yourls-cas-plugin
This plugin for YOURLS enables the use of CAS (Central Authentication Service) for user authentication.
https://github.com/nicwaller/yourls-cas-plugin
Last synced: 14 days ago
JSON representation
This plugin for YOURLS enables the use of CAS (Central Authentication Service) for user authentication.
- Host: GitHub
- URL: https://github.com/nicwaller/yourls-cas-plugin
- Owner: nicwaller
- License: gpl-3.0
- Created: 2013-05-29T05:24:14.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-04-18T14:30:15.000Z (7 months ago)
- Last Synced: 2024-08-02T06:14:30.061Z (4 months ago)
- Language: PHP
- Size: 133 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - CAS Plugin - Enable authentication through a CAS server. (Plugins / C)
README
yourls-cas-plugin
=================
This plugin for [YOURLS](https://github.com/YOURLS/YOURLS) enables the use of [Central Authentication Service](http://www.jasig.org/cas) for user authentication. CAS is commonly used at higher-ed institutions to provide faculty, staff, and students with SSO (Single Sign-On) capability for web services.Installation
------------
1. [Download phpCAS](https://github.com/nicwaller/yourls-cas-plugin/tags) and give your webserver (eg. Apache) read permissions on it
1. Download the latest release of yourls-cas-plugin.
1. Copy the plugin folder into your user/plugins folder for YOURLS.
1. Set up the parameters for phpCAS (details below)
1. Activate the plugin with the plugin manager in the admin interface.Usage
-----
When yourls-cas-plugin is enabled, the login screen will never be shown. Instead, you will be immediately redirected to the CAS server. If CAS login is successful, then you will immediately go to the admin interface.Configuration
-------------
* `PHPCAS_PATH` The path to where you installed the phpCAS library. This should be an absolute path ending with CAS.php.
* `PHPCAS_HOST` The hostname of your CAS server
* `PHPCAS_CONTEXT` The webapp subdirectory of your CAS server (typically /cas)
* `PHPCAS_CERTCHAIN_PATH` You need a local copy of the certificate chain from the CAS server. That's the only way for phpCAS to verify the server's authenticity. Also, you can concatenate multiple certs into a single PEM file.Troubleshooting
---------------
Check all of your error logs.
* PHP error log usually at `/var/log/php.log`
* phpCAS error log usually at `/tmp/phpcas.log`
* And your Apache error_log, of course.License
-------
Copyright 2013 Nicholas Waller ([email protected])This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program. If not, see .