Hi Yi,
i guessed it was a good idea to set it as public ticket ;)
yeah I had that redirect loop, too, did not write an rewrite rule preventing that yet. Maybe a rule that focused on the Cooke state that is also sent, or the combination of fields.
Do you use an redirect URL? For me this problem happens only if a user goes back to the login form if he is already authenticated.
Another Problem I could only solve by deleting all the JSESSIOND and state cookie was to properly logout a user. going to /identity/authentication/finishlogout did not work (@gluu, would that have been the right link?)
As dirty fix you should create a logout.php (or javascript, jsp, whatever) that deletes the relevant cookies. As they are served and saved to the same domain, it would force a logout.
Greetings,
Stefan