-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keycloak_openid attribute not set in KeycloakOpenIDConnection #431
Comments
same error my project. |
mklassen
added a commit
to mklassen/python-keycloak
that referenced
this issue
Oct 19, 2023
Error occurs when token is set so refresh_token is called before call to get_token.
mklassen
added a commit
to mklassen/python-keycloak
that referenced
this issue
Oct 19, 2023
Error occurs when token is set so refresh_token is called before call to get_token.
ryshoooo
pushed a commit
that referenced
this issue
Nov 13, 2023
* fix: remove internal use of deprecated methods * fix: missing keycloak_openid during refresh (#431) Error occurs when token is set so refresh_token is called before call to get_token. * feat: Add client update method * fix: keycloak 22.0 dropped http challenge support * fix: keycloak 22 changes default authenticator providers
NoDataIsAvailable
pushed a commit
to NoDataIsAvailable/python-keycloak-extended
that referenced
this issue
Jan 8, 2024
…reirampj#491) * fix: remove internal use of deprecated methods * fix: missing keycloak_openid during refresh (marcospereirampj#431) Error occurs when token is set so refresh_token is called before call to get_token. * feat: Add client update method * fix: keycloak 22.0 dropped http challenge support * fix: keycloak 22 changes default authenticator providers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the
token
argument is passed during the initialization of aKeycloakOpenIDConnection
instance, then theget_token()
method is not called. However when therefresh_token()
is subsequently called it attempts to access theself.keycloak_openid
attribute which is set inget_token()
. This results in the following error:The
keycloak_openid
should be an@property
that creates the requiredKeycloakOpenID
as required by either theget_token()
orrefresh_token()
methods. It could also be an@cached_property
to automatically handle the caching.The text was updated successfully, but these errors were encountered: