|
@ -69,6 +69,7 @@ config_well_know = keycloak_openid.well_know() |
|
|
|
|
|
|
|
|
# Get Token |
|
|
# Get Token |
|
|
token = keycloak_openid.token("user", "password") |
|
|
token = keycloak_openid.token("user", "password") |
|
|
|
|
|
token = keycloak_openid.token("user", "password", totp="012345") |
|
|
|
|
|
|
|
|
# Get Userinfo |
|
|
# Get Userinfo |
|
|
userinfo = keycloak_openid.userinfo(token['access_token']) |
|
|
userinfo = keycloak_openid.userinfo(token['access_token']) |
|
|