Message Boards

How to Logout User And Invalidate Session And Revoke Token

amirsnw kaihi, modified 3 Years ago.

How to Logout User And Invalidate Session And Revoke Token

New Member Posts: 10 Join Date: 12/31/19 Recent Posts

I'm using oauth2 token based authentication for my rest service and want it to have a log-out buttom for the user.

Is there any method for revoking token and invalidating session cause the session wont regenerate when invalidating it or using AuthenticatedSessionManagerUtil.logout(httpRequest, httpResponse);

How can i logout the user and revoke token programmatically?