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 30d61ad316)
This commit is contained in:
Steve Relf 2023-05-02 15:03:35 +01:00 committed by Graeme Moss
parent 97c2d0b95f
commit e96c503154
1 changed files with 2 additions and 1 deletions

View File

@ -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