-
Notifications
You must be signed in to change notification settings - Fork 249
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
Not getting lamda exceptions for social login #1279
Comments
Hi @Sunsiha - I will try to reproduce. It's possible that this is not supported but I will confirm. |
You mean this exception itself we won't get? |
Hi @Sunsiha - I was able to reproduce the issue, and only when using social sign in (not with hosted UI or regular sign in/sign up). Would you be willing to create an issue in the |
I need a solution. But the same issue is available in iOS also. So again I have to create new issue in amplify-ios also? |
I'm very sorry - as we depend on these libraries internally, I'm not able to resolve the problem without their assistance. I can create the tickets, if you'd prefer, although for their sake it may be easier if you did since you will be able to troubleshoot and respond to their feedback. |
Please do create a ticket and let me know |
I've created the issue tickets. Please follow them so that you receive the latest updates. |
Okay thanks. |
any update? |
Hello @Sunsiha - We have recently released a new developer preview version of the Auth category (amplify_flutter v1.0.0-next.0). This new version is a full re-write of the auth category in dart, and it supports Mobile, Desktop, and Web. This issue is addressed in this new version. You can read more about the developer preview release in the blog post and docs. I will update this issue again once this new version is out of developer preview. |
Hi @Jordan-Nelson is it supports
Is it is supporting web version? Then why in flutter package it's mentioned only Android and iOS? |
Hi @Sunsiha - Pub did not recognize the first dev preview we released as supporting web. We have released a revision which is recognized by Pub as supporting all platforms. You can see that here. The original version supported all platforms as well, Pub just didn't recognize as supporting all platforms because it wasn't listed in the pubspec. We have updated that in the latest release. |
When this fix will release for amplify_android . for fluter it was released on feb 24 2022 but no response for android. I'm facing this issue on Android. I have created an issue https://github.com/aws-amplify/amplify-android/issues/1907 |
Hello @AsitDixit - Are you using the Amplify-Android libraries, or the Amplify-Flutter libraries targeting flutter? I don't have an ETA on a fix for Amplify-Android. That issue would be the correct place to ask for an update for Amplify-Android. |
This issue has been addressed in v1.0.0 of Amplify Flutter, which is now stable. This release also includes web and desktop support for Auth, API, Analytics, and Storage. You can see the list of new features and bug fixes in the release notes, and see more details on how to migrate in the upgrade guide. |
When I tried to call social login we are doing few lamda functions. But in flutter am not able to catch the lamba exceptions for social login. When I tried to login with social auth providers getting error like this;
social loginAuthException(message: Sign-in with web UI failed, recoverySuggestion: See attached exception for more details, underlyingException: com.amazonaws.mobileconnectors.cognitoauth.exceptions.AuthServiceException: invalid_request)
Code:
Note: For other cases am getting lamda exceptions in terminal only for social login am not getting. But this lamda errors are getting in web. And we are using same configurations.
They are handling like this;
Expected Result:
Should be able to get the lamda exceptions.
Flutter details:
Cognito versions:
Added the triggers also;
The text was updated successfully, but these errors were encountered: