From e96c503154ff8f3560b1601ee4616549d8c5b161 Mon Sep 17 00:00:00 2001 From: Steve Relf Date: Tue, 2 May 2023 15:03:35 +0100 Subject: [PATCH] Make v3oidcpassword send client_id Updates the v3oidcpassword function to also send the client_id as part of the request body, this seems to be a requirement for services like onelogin. Change-Id: I2392ef51302804c0c66c0fb52227db5f35bca3fd (cherry picked from commit 30d61ad316bc3fe873674b2825bab1e85534b80d) --- keystoneauth1/identity/v3/oidc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/keystoneauth1/identity/v3/oidc.py b/keystoneauth1/identity/v3/oidc.py index 39855463..24a58d97 100644 --- a/keystoneauth1/identity/v3/oidc.py +++ b/keystoneauth1/identity/v3/oidc.py @@ -326,7 +326,8 @@ class OidcPassword(_OidcBase): """ payload = {'username': self.username, 'password': self.password, - 'scope': self.scope} + 'scope': self.scope, + 'client_id': self.client_id} return payload