[keycloak-dev] Checking whether a client has offline access enabled

Douglas Palmer dpalmer at redhat.com
Mon Nov 18 15:21:27 EST 2019


Hi everyone

I need to check whether a client has offline access enabled for the application page of the new account console. Is the correct way to do this to check if the client has the offline role? i.e. client.getRole(Constants.OFFLINE_ACCESS_ROLE) != null

Regards
Doug




More information about the keycloak-dev mailing list