Commit graph

15 commits

Author SHA1 Message Date
6d76970e36
fix(allauth_cas): Registry was removed in recent versions of allauth 2024-09-17 22:21:37 +02:00
João Pires
77e02f3796 version 1.0.1. Fixed package for Django 4.2. 2024-01-25 14:33:24 +00:00
Aurélien Delobelle
6657ec6042 Bump version: 1.0.0 2018-10-21 15:29:26 +02:00
Aurélien Delobelle
b61fa627fd Fix usage with CASClient V2 2018-10-21 15:20:23 +02:00
Aurélien Delobelle
454fb52adb Beta release: 1.0.0b2 2017-12-29 22:24:24 +01:00
Aurélien Delobelle
a11a835ef2 Fix CASTestCase.client_cas_login() 2017-12-29 22:21:44 +01:00
Aurélien Delobelle
5340ef0d1a Beta release (with docs) 2017-12-29 18:23:50 +01:00
Aurélien Delobelle
e3446fbf4f New dev release 2017-09-16 02:19:06 +02:00
Aurélien Delobelle
bb8a3b16bf Connect a CAS Account for an authenticated works...
...thanks to using SocialLogin.stash/unstash_state.

Also:
- Some tests are updated to get the stash_state. Requests are denied if
client session doesn't go through stash_state (called in LoginCASView).
- Fix an assert statement in a test.
2017-09-16 01:58:09 +02:00
Aurélien Delobelle
819f50e86d New dev release 2017-07-28 15:41:19 +02:00
Aurélien Delobelle
049cf22b42 Renew on already authenticated + Misc tests
Renew paramater:
- By default, CAS client will use renew parameter if user already
authenticates via a CAS server. If always False, he can't
reauthenticate on a CAS server due to the single sign-on CAS feature
(except if he logouts of CAS on his own).

Tests:
- patch_cas_reponse now returns a correct CAS client taking into
account the version attribute of the CAS adapter.
- Some moves happens between testcases et al.
- Delete old and now unused fake CAS client classes.
2017-07-28 15:31:37 +02:00
Aurélien Delobelle
3f84c805d0 New dev release 2017-07-26 18:34:08 +02:00
Aurélien Delobelle
9860eb683f Update tests
- Delete patch_cas_client on CASTestCase. It's replaced with
patch_cas_response method.
- Move CAS*TestCase to allauth_cas.test.testcases.
2017-07-26 18:32:35 +02:00
Aurélien Delobelle
7133ae65a6 Prevent escaping of logout message 2017-07-26 17:24:20 +02:00
Aurélien Delobelle
76fd5ca344 initial 2017-07-25 18:31:42 +02:00