[Feature] Device SRP / Device Password Verification Support
jimmyherron opened this issue · 1 comments
Hi Guys
Would love to see device SRP support, I'm really struggling to figure out https://aws.amazon.com/premiumsupport/knowledge-center/cognito-user-pool-remembered-devices/ in python. No matter what combination of things I do, this fails.
I'd be happy to contribute where I got up to in exchange for some TLC.
Let me know
This is my guess, but referring to the boto3 reference, it seems necessary to do the following:
initiate_auth reference
Execute initiate_auth ()
The AccessToken and NewDeviceMetadata of this response contain the DeviceKey, so save it.
update_device_status reference
Execute update_device_status (AccessToken, DeviceKey, DeviceRememberedStatus ='remembered')
You should now remember your device in Cognito.
I haven't actually tried it, but what about it?
These are probably not implemented in pycognito, so I think it's better to run them using the client in pycognito (the client of boto3).