[Auth] Lambda trigger exception not forwarded when using social sign-in
Before opening, please confirm:
- [X] I have searched for duplicate or closed issues and discussions.
Language and Async Model
Kotlin
Amplify Categories
Authentication
Gradle script dependencies
implementation 'com.amplifyframework:aws-auth-cognito:1.28.3-rc'
Environment information
N/A
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
https://github.com/aws-amplify/amplify-flutter/issues/1279
CX is not receiving exception message from Lambda trigger when using social sign-in. I was able to reproduce when using social sign-in only - regular sign-up and Hosted UI both returned the exception.
Is this expected behavior? And is there a way to expose these exceptions?
Reproduction steps (if applicable)
- Set up lambda trigger which throws an exception (I tested with pre-signup).
- Set up social sign-in (I tested with Google).
- Sign in with social login
- Receive generic error message w/out Lambda exception.
Code Snippet
// Put your code below this line.
Log output
// Put your logs below this line
amplifyconfiguration.json
No response
GraphQL Schema
// Put your schema below this line
Additional information and screenshots
No response
any update on this?
Thank you for reporting this issue. I was able to reproduce the issue and am looking into a fix.
A fix for the issue has been released in Amplify Android 1.37.4.
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.