Commit graph

89 commits

Author SHA1 Message Date
Jean-Benoist Leger
b27fdc7293
fix: remove appcontext which is removed in flask 2025-06-07 21:24:25 +02:00
Keyrun Adhikari
387139f945
basestring not supported in python 3.8 2025-06-07 21:23:53 +02:00
MasterRoshan
d0653d4807 fixed description link 2019-03-26 17:27:08 -04:00
MasterRoshan
36363c21b8 fix typo in clone url 2019-03-26 15:20:36 -04:00
MasterRoshan
ca1eaf9234 updated package name 2019-03-26 14:45:10 -04:00
MasterRoshan
d325ea430e Merge branch 'PR63' 2019-03-26 13:10:56 -04:00
MasterRoshan
5f54016e0e Merge branch 'PR46' 2019-03-26 13:08:16 -04:00
Jordan Reiter
49b1822bd2 Include script root to preserve prefix used by WSGI/Reverse Proxy 2018-07-16 05:24:49 +00:00
王旭林
cb6ae6a494 Fix cas_validate_url bug 2018-07-06 18:27:53 +08:00
fprocess
1da3505188 Add origin parameter with cas.login url 2018-07-03 17:37:22 +08:00
fprocess
feaa0708ec Change the support of python version 2018-05-18 02:03:16 +08:00
fprocess
51ab70c8e4 Fix the bug because of the new version of [Flask](https://pypi.org/project/Flask/) not support flask.ext.cas semantics 2018-05-18 01:51:23 +08:00
fprocess
1b0c842dfb Use request.full_path instead of request.path 2018-05-18 01:33:47 +08:00
jeremylongo
9d38eed74e Update routing.py
attributes is None if cas:attributes exists but is empty
2017-09-05 11:56:56 +02:00
Vlad Ionescu
219dd15cf2 Documented the requirement for specifying app.secret_key else Flask-Session will throw an exception and the app will not work. 2017-01-23 13:18:30 -08:00
Vlad Ionescu
f1bcbb224c Changed imports from flask.ext.cas to flask_cas, per 'ExtDeprecationWarning: Importing flask.ext.cas is deprecated, use flask_cas instead.' 2017-01-23 13:06:30 -08:00
jeremylongo
d7708fbbbf Update routing.py 2017-01-10 17:14:00 +01:00
jeremylongo
4760019e80 Check if cas:memberOf is a string
if cas:memberOf comes from a LDAP directory, each entry contains commas. In our case, we use multiple memberOf tags to address this issue, so attributes["cas:memberOf"] is not a string.
2017-01-10 17:10:46 +01:00
Cameron Brandon White
10ee70466a v1.0.1 2016-01-11 21:19:15 -08:00
Cameron Brandon White
5a79b56e0f Merge pull request #35 from maruiz93/master
Issue #31. Solved bug when no attributes.
2016-01-11 21:17:22 -08:00
Marta Añón
a485e900f1 Issue #31. Solved bug when no attributes.
Using a default value when CAS give no attributes.
2016-01-07 18:00:03 +01:00
Cameron Brandon White
e5b5a9e97e Merge pull request #27 from vlad003/master
Fix link to CAS documentation
2015-08-18 13:48:36 -07:00
Andrei Vacariu
05fbf8bfdb Fix link to CAS documentation
Jasig has been renamed to Apereo, and the official CAS site has been moved to GitHub.
2015-08-17 13:25:03 -07:00
Cameron Brandon White
e9cf1fea83 Merge pull request #23 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2015-08-05 15:14:12 -07:00
Cameron Brandon White
f36a977d59 Version bump to 1.0.0 2015-08-05 12:05:21 -07:00
Cameron Brandon White
a721fa4411 Fixed syntax blocks in README.md 2015-08-05 12:04:31 -07:00
Cameron Brandon White
341126dc15 Refactored flask.session.get usage 2015-08-05 12:02:46 -07:00
Cameron Brandon White
6deda82869 Merge pull request #26 from nelsonw2014/master
Utilize serviceValidate endpoint available on CAS 3.0
2015-08-05 11:57:23 -07:00
Warren Nelson
1073e86f01 Split CAS_USER into CAS_ATTRIBUTES and CAS_USERNAME 2015-08-05 09:47:34 -04:00
Warren Nelson
11ecbde9e8 Rename attribute to attributes 2015-08-04 17:15:00 -04:00
Warren Nelson
83a170ee47 Add xmltodict to setup.py 2015-08-04 17:03:40 -04:00
Warren Nelson
415f5b1d8e Utilize serviceValidate endpoint available on CAS 3.0, LDAP attributes available 2015-08-04 16:47:14 -04:00
Cameron Brandon White
b7a99e789e Merge pull request #24 from RBukharov/master
Logout fix
2015-07-30 17:26:19 -07:00
Rbukharov
0b9fb5c09a tests fixed 2015-07-14 10:27:21 +03:00
Rbukharov
481ed642c8 tests fixed 2015-07-14 10:24:41 +03:00
Rbukharov
db808e640b logout() refactoring 2015-07-14 10:18:24 +03:00
Rbukharov
9558c22909 - 2015-07-14 10:11:56 +03:00
Rbukharov
3004efdb75 Tests updated 2015-07-14 10:06:18 +03:00
Rbukharov
72763a4200 Readme fix 2015-07-13 13:26:02 +03:00
Rbukharov
42fbebc26f logout fix 2015-07-13 13:23:32 +03:00
Rbukharov
1b0e14b2d2 logout fix 2015-07-13 13:22:01 +03:00
Rbukharov
bcbd4d0393 Logout fix
'url' parameter changed to 'service' according to
http://jasig.github.io/cas/development/installation/Logout-Single-Signout.html

Added CAS_AFTER_LOGOUT config to specify URL for redirect after logout
2015-07-13 13:13:14 +03:00
The Gitter Badger
9751fecf45 Added Gitter badge 2015-06-02 00:35:33 +00:00
Cameron Brandon White
c2fd011dce Merge pull request #20 from cameronbwhite/saipanno-master
fixes for 2.6
2015-01-29 17:11:36 -08:00
Cameron Brandon White
bb3c03ea9d Version bump 2015-01-29 17:10:24 -08:00
Cameron Brandon White
052566c81c test fixes for python 2.6 2015-01-29 17:10:23 -08:00
Cameron Brandon White
2616741ed8 Added 2.6 to .travis.yml 2015-01-29 17:10:23 -08:00
Cameron Brandon White
96014bd281 Merge pull request #19 from saipanno/master
fix for python2.6
2015-01-29 17:09:08 -08:00
Ruoyan Wong
d5ed27f9a6 fix for python2.6 2015-01-28 18:06:09 +08:00
Cameron Brandon White
6d882d22a6 Version bump 2015-01-25 10:33:16 -08:00