[keycloak-user] It's possible to check if an user have an active/valid session through REST API?

Bruno Oliveira bruno at abstractj.org
Mon Oct 24 15:01:38 EDT 2016


Hi Max, I'm not sure which information you want, but you can try to look
at these endpoints:

* http://www.keycloak.org/docs/rest-api/#_get_user_sessions_for_client
* http://www.keycloak.org/docs/rest-api/#_get_client_session_stats

On 2016-10-24, max.catarino at rps.com.br wrote:
>
>
> It's possible to check if an user have an active/valid session through
> REST API?
>
> I saw the UserSessionRepresentation returned by
> Keycloak.realm("realmId").users().get("userId").getUserSessions(). But
> UserSessionRepresentation do not have the information I want.
>
> Best regards
>
> Maximiliano
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user

--

abstractj
PGP: 0x84DC9914


More information about the keycloak-user mailing list