title: python-keycloak package with KeycloakOpenID : logout does not work
body: <p>I have a keycloak docker container (pulled image jboss/keycloak ) and a Django 2.2 web container. For integration of django with keycloak <code>social-auth-app-django</code> was used.  Login works fine. Now trying to implement logout using python-keycloak following instructions described here:</p>
  
  <p><a href="https://github.com/marcospereirampj/python-keycloak" rel="nofollow noreferrer">https://github.com/marcospereirampj/python-keycloak</a> :</p>
  
  <pre><code>   from keycloak import KeycloakOpenID
  
      keycloak_openid = KeycloakOpenID(server_url="http://&lt;my IP&gt;:8080/auth/",
                          client_id="&lt;client_id&gt;",
                          realm_name="&lt;my realm name&gt;",
                          client_secret_key="&lt;my secret&gt;",
                          verify=True)
      config_well_know = keycloak_openid.well_know()
      token = keycloak_openid.token("&lt;username&gt;", "&lt;password&gt;")
      print(token) # all tokens returned ok
  
      userinfo = keycloak_openid.userinfo(token['access_token'])
      print ("userinfo:", userinfo) # userinfo returned ok 
  
      keycloak_openid.logout(token['refresh_token'])
  </code></pre>
  
  <p>in the container log:
  <code>Some clients have been not been logged out for user &lt;username&gt; in &lt;my realm name&gt; realm: &lt;client_id&gt;
  </code>
  No logout happens, still can browse the site.</p>
  
  <p>What's missing? Thanks</p>
  
  <p><strong>UPDATE</strong>
  Maybe I understood the problem. The token I get from  <code>keycloak_openid.token()</code> call is not the token that was generated for me at the moment of login. The only token that can be fed to <code>keycloak_openid.logout()</code> call for it to work is that original token ('refresh_token' key value of the token dict, to be specific). Calling <code>keycloak_openid.refresh_token()</code> also issues a new token which is rejected as logout credential. But the originally issued refresh_token does not seem to be stored anywhere - sessions, cookies or keycloak db. (Note: I did find <code>access_token</code>, it's in the django DB in <code>social_auth_usersocialauth</code> table, but I need <code>refresh_token</code>). However, it's dumped to the console output at the moment of login, so if I copy it and call   <code>keycloak_openid.logout()</code> with it, it does logout from keycoak. The question is where can I find that original refresh_token?</p>