#Pass clientMetadata from federated auth to cognito triggers

10 messages · Page 1 of 1 (latest)

tame gull
#

Hi,
Is there a way to pass custom clientMetadata (referralId) to federated auth and have this data in cognito lambda trigger? I can do this with email/password flow, but havent found a way with federated auth.

Thanks!

narrow flicker
tame gull
#

do you know how to do this with federated auth? i managed to make email/pass flow work, but social providers dont work

narrow flicker
tame gull
#

@narrow flicker uhh. i've tried every way possible 😦 thanks for your help!

tame gull
#

nop

drowsy yacht
#

@haughty blaze @drowsy yacht

drowsy yacht
#

Hey, @tame gull wanted to follow up here. I know you've already commented on a couple of issues tied to Hub events and v5 to v6 migration/version parity issues... but the one that's blocking what you're looking to do is https://github.com/aws-amplify/amplify-js/issues/5522 at this point (which you've already commented on). That would be the issue to follow and get updates on, but we're essentially blocked by Cognito at this point and need their support.

GitHub

Is your feature request related to a problem? Please describe. I would like to add some validationData on Auth.federatedSignIn() so that i can access this data on some Cognito triggers like Pre aut...