Open alwindoss opened 6 years ago
Thanks for brining this feature request over from v1 @alwindoss. We've heard from several users having similar Cognito customizations is important. Initially out the door of the V2 SDK's developer preview we plan to focus on design and refactors of the SDK to improve the base experience. With that said though, pulling in additional features will be a good addition to the SDK. We're also always glad to review and consider PRs.
References for feature to add:
@jasdel I would love to contribute to this feature if you guys could guide me. This is the most important feature request for me at this point in time in was SDK for go.
the AuthFlow ADMIN_NO_SRP_AUTH can be completed already in general we need something like this part of the warrant python-lib to get the USER_SRP_AUTH AuthFlow completed: https://github.com/capless/warrant#cognito-srp-utility
I can get over the second step of the AuthFlow, which is called PASSWORD_VERIFIER, but then don't know how to handle the responded SRP_B and SECRET_BLOCK. I created me a SRP_A with some help of https://github.com/getinsomnia/go-srp, but it looks like I'm missing the knowledge about python, golang and srp to port this functionality
What is the priority of this request. Would it be implemented anywhere in the near future according to the Roadmap?
@alwindoss thanks for voting for this feature. This work is still outstanding in the SDK's backlog. Sorry, I don't have a estimate when this work would be completed.
@alwindoss @WolfgangMau I created a port of the warrant AWSSRP class to get USER_SRP_AUTH working if you're interested:
https://github.com/AlexRudd/cognito-srp
it's pretty basic but at least it handles all the SRP business.
Please fill out the sections below to help us address your issue.
Version of AWS SDK for Go? LATEST
Version of Go (go version)? 1.9.2
Support for Cognito just the way it is supported in JavaScript SDK and Android SDK to calculate the Auth Challenge to send in RespondToAuthChallenge
Refer: https://github.com/aws/aws-sdk-go/issues/1245