-
Notifications
You must be signed in to change notification settings - Fork 850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need support Cognito USER_SRP_AUTH in Java SDK #2851
Comments
Hi @wyalchemy I'm not very clear on what is being asked regarding USER_SRP_AUTH, can you elaborate? The CognitoIdentityProviderClient does provide a InitiateAuth operation with USER_SRP_AUTH as one of the options in AuthFlowType, but I'm assuming this is not what you're looking for, is it? |
Thanks for the reply! I have clear information about why we need such AWS official Java SDK or extension package? Here are the reasons:
|
@wyalchemy sorry for the long pause in response here.
Browsing through the Amplify documentation I see that USER_SRP_AUTH flow is supported in the Amplify Android lib, have you tried it out? Apologies in advance as I'm not super familiar with Cognito or the Amplify tools, so the |
It looks like this issue has not been active for more than five days. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please add a comment to prevent automatic closure, or if the issue is already closed please feel free to reopen it. |
…0167edb82 Pull request: release <- staging/a0e9ccb8-ef38-42ec-8e24-0fe0167edb82
Describe the feature
There are JS SDK doing USER_SRP_AUTH, there are extension package (https://github.com/aws/aws-sdk-net-extensions-cognito) for .Net to support USER_SRP_AUTH.
But there is NO Java SDK support USER_SRP_AUTH. Please add support USER_SRP_AUTH in JAVA SDK. Or at least, please provide extension Java package to support USER_SRP_AUTH!
Is your Feature Request related to a problem?
Yes,
First, there is NO any document clearly describing:
How to calculate the value A (which N and g values should be used to calculate value A)?
How to provide/calculate the challenge response values?
Existing documents do NOT have clear enough information for developers to implement USER_SRP_AUTH: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RespondToAuthChallenge.html#API_RespondToAuthChallenge_ResponseSyntax
Having Java SDK support USER_SRP_AUTH is AWS's responsibility, which can ensure the SDK is consistent with the Service Server side implementation.
Proposed Solution
No response
Describe alternatives you've considered
No response
Acknowledge
AWS Java SDK version used
2.17.75
JDK version used
1.8
Operating System and version
Windows, Linux
The text was updated successfully, but these errors were encountered: