HttpServletResquest.logout should work, so not sure what's going on. Maybe
try one of our examples or demo to see a working application?
On 16 December 2016 at 13:06, ruiwp13 <ruiwp_93(a)hotmail.com> wrote:
As suggested by Stianst, I used the keycloak login page to login.
I did the redirect to keycloak login page, but now, when I logout with
HttpServletResquest.logout() it gives an error in logs saying invalid_token
and userId is set to null. I don't send any parameters, only the
Authorization header with "Bearer token". Do I need to send some parameter
to logout?
I tried to send client_id, user_id, refresh_token, id_token to request and
the error in log remains still.
type=LOGOUT_ERROR, realmId={realm}, clientId={clientId}, userId=null,
ipAddress={ip} error=invalid_token, client_auth_method=client-secret
--
View this message in context:
http://keycloak-user.88327.x6.
nabble.com/Login-without-Keycloak-Login-Page-tp1974p2011.html
Sent from the keycloak-user mailing list archive at
Nabble.com.
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user