amplify-android icon indicating copy to clipboard operation
amplify-android copied to clipboard

[Auth] Lambda trigger exception not forwarded when using social sign-in

Open dnys1 opened this issue 4 years ago • 1 comments

Before opening, please confirm:

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)

  1. Set up lambda trigger which throws an exception (I tested with pre-signup).
  2. Set up social sign-in (I tested with Google).
  3. Sign in with social login
  4. 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

dnys1 avatar Feb 01 '22 16:02 dnys1

any update on this?

Sunsiha avatar Feb 22 '22 05:02 Sunsiha

Thank you for reporting this issue. I was able to reproduce the issue and am looking into a fix.

eeatonaws avatar Sep 08 '22 17:09 eeatonaws

A fix for the issue has been released in Amplify Android 1.37.4.

eeatonaws avatar Sep 27 '22 18:09 eeatonaws

⚠️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.

github-actions[bot] avatar Sep 27 '22 18:09 github-actions[bot]