Redirection vers cas.eleves.ens.fr/logout à la déconnexion. #27
No reviewers
Labels
No labels
documentation
Doing
Doing
Good first issue
To Do
To Do
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: DGNum/authens#27
Loading…
Reference in a new issue
No description provided.
Delete branch "kerl/cas_logout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #8
changed milestone to %1
added 1 commit
Compare with previous version
marked the checklist item J'aime pas trop le fait de stocker un booléen "connecté⋅e via CAS" en bdd → voir si je peux remplacer par une variable de session. as completed
mentioned in merge request !6
added 9 commits
master
b8e165ac
- Test the behaviour described in the READMEbbd6a5bb
- Black09ad5b66
- redirect CAS-users to CAS_URL/logout at logoutead85189
- Test the logout view6a75f785
- Store the connexion method in a session variableCompare with previous version
marked the checklist item Merge !4 avant as completed
unmarked as a Work In Progress
On ne permet pas de rediriger après logout CAS ?
Je n'y avais pas pensé mais si, c'est une bonne idée
changed this line in version 5 of the diff
added 1 commit
Compare with previous version
resolved all discussions
added 1 commit
8e95a016
- Redirect after a CAS logoutCompare with previous version
si j'appelle
/logout?next=https://www.google.fr
ça merde ça non ?Hum, peut-être que je ne devrais pas forcer le nom de domaine effectivement. Je teste et je te dis
changed this line in version 7 of the diff
added 1 commit
352fedb8
- Logout next url can be local or absoluteCompare with previous version
Ok, maintenant ça devrait le faire.
Il faut donner une URL absolue quoi qu'il arrive puisqu'on sera redirigé depuis le CAS et non depuis notre site Django. Du coup je préfixe par
request.get_host()
uniquement sinext_page
est une url locale.resolved all discussions
mentioned in commit
6fdde55b0f
merged