[keycloak-user] Can not logout with RESTFul API
Bill Burke
bburke at redhat.com
Thu Aug 27 09:33:42 EDT 2015
getPreferredUsername() is username
getSubject() is userId
On 8/25/2015 8:26 PM, Mai Zi wrote:
>
>
> Hi,
> We are using the version 1.1.0 final. According to the doc, to logout
> current user, we call the method:
>
> /admin/realms/{realm}/users/{username}/logout
> <http://docs.jboss.org/keycloak/docs/1.1.0.Final/rest-api/admin/realms/%7Brealm%7D/users/%7Busername%7D/logout/index.html>
>
> We got the name as session.getIdToken.getName()
>
>
> but get an 404 error.
>
> We are not sure what we missed.
>
>
> Any help will be appreciated.
>
> Mai
>
>
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
More information about the keycloak-user
mailing list