Browse Source

fix: dont set bearer in refresh token directly

pull/566/head
Richard Nemeth 11 months ago
parent
commit
256acabe30
No known key found for this signature in database GPG Key ID: 21C39470DF3DEC39
  1. 2
      src/keycloak/openid_connection.py

2
src/keycloak/openid_connection.py

@ -450,8 +450,6 @@ class KeycloakOpenIDConnection(ConnectionManager):
else:
raise
self.add_param_headers("Authorization", "Bearer " + self.token.get("access_token"))
async def a__refresh_if_required(self):
"""Refresh the token if it is expired."""
if datetime.now() >= self.expires_at:

Loading…
Cancel
Save