>> Is it possible to be redirected directly to the login page when I deactivate the status of a logged in user while he has an active token?
Every token has a life time, as well as every session has a lifetime.
What you are asking about is not possible out of the box.
But, I believe you can achieve with custom script...
- Run custom script ( jython / bash / python ) which would read ldap "gluuStatus" value for every user.
- Whenever it will find "gluuStatus == inactive", it would search for sessionId or tokenId associated with that inum of user. If found any, immediately delete them.