fix SALT and SRP_B params
This commit is contained in:
parent
ac0ffab4d0
commit
c5d0aa0c10
2 changed files with 8 additions and 8 deletions
|
|
@ -944,8 +944,8 @@ class CognitoIdpBackend(BaseBackend):
|
|||
"ChallengeName": "PASSWORD_VERIFIER",
|
||||
"Session": session,
|
||||
"ChallengeParameters": {
|
||||
"SALT": str(uuid.uuid4()),
|
||||
"SRP_B": str(uuid.uuid4()),
|
||||
"SALT": uuid.uuid4().hex,
|
||||
"SRP_B": uuid.uuid4().hex,
|
||||
"USERNAME": user.id,
|
||||
"USER_ID_FOR_SRP": user.id,
|
||||
"SECRET_BLOCK": session,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue